On Fri, Nov 17, 2006 at 08:39:29PM +0100, Peter Kümmel wrote:
> Andre Poenitz wrote:
> > On Wed, Nov 15, 2006 at 06:01:46PM -0000, [EMAIL PROTECTED] wrote:
> >>  void GuiWorkArea::setScrollbarParams(int h, int scroll_pos, int 
> >> scroll_line_step)
> >>  {
> >> +  if (verticalScrollBarPolicy() != Qt::ScrollBarAlwaysOn)
> >> +          setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
> >> +
> > 
> > Wouldn't 'ScrollBarAsNeeded' all the time be ok as well?
> > 
> > Andre'
> > 
> 
> Then you get a repaint switching to a other document.
> I was 'ScrollBarAsNeeded' all the time until Abdel
> complained about it.

It's hard to imagine how a repaint can be avoided when 
switching to another document.

Andre'

Reply via email to