From: Peter Kümmel Date: Fri, 3 Nov 2006 09:23:52 +0000 (+0000) Subject: disable scrollbar when it is not needed, especially for the empty start up window X-Git-Tag: 1.6.10~12077 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=77ada344c49116310d10b8dfe243a9cefa806c84;p=lyx.git disable scrollbar when it is not needed, especially for the empty start up window git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15700 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiWorkArea.C b/src/frontends/qt4/GuiWorkArea.C index 942e1f4f19..e2475d50ec 100644 --- a/src/frontends/qt4/GuiWorkArea.C +++ b/src/frontends/qt4/GuiWorkArea.C @@ -193,7 +193,7 @@ GuiWorkArea::GuiWorkArea(int w, int h, int id, LyXView & lyx_view) cursor_ = new frontend::CursorWidget(this); cursor_->hide(); - setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn); + setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded); setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setAcceptDrops(true); setMinimumSize(100, 70);