Andre Poenitz wrote:
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.

In this case two repaints were needed. When you switched document, the scrollbar would not be visible. Then, as LyX figured out that he needs it, it resized the BufferView in order to leave room for the scrollbar.
As I said: annoying.

Abdel.

Reply via email to