On Wed, Sep 23, 2009 at 11:52:12AM +0200, Enrico Forestieri wrote: > On Wed, Sep 23, 2009 at 10:06:40AM +0200, Jean-Marc Lasgouttes wrote: > > Enrico Forestieri <for...@lyx.org> writes: > > > You're impossible to please, apparently :) but it has to suffice, as we > > > only support Qt >= 4.4, it seems: http://www.lyx.org/trac/changeset/30406 > > > > http://www.lyx.org/trac/changeset/30440 > > Doh! Was missing that... > > AFAIK, the scrollbar doesn't appear even in Qt 4.4, so the remaining > problems with Qt 4.2 are that the dialog has to be manually resized > (place the mouse cursor on the left edge and, when it becomes a double > arrow, drag to the left) and that the contents don't stretch when it > is further enlarged.
I think that this is due to an uic bug, in that it fails to set the widget for the QScrollArea. Indeed, patching the ui_FindAndReplaceUi.h file produced by uic (see attached) it works as it should (minus the scroll bar that never appears with Qt 4.2). -- Enrico
--- src/frontends/qt4/ui_FindAndReplaceUi.h Thu Sep 24 00:30:40 2009 +++ src/frontends/qt4/ui_FindAndReplaceUi.h.good Thu Sep 24 00:37:04 2009 @@ -440,6 +440,7 @@ gridLayout->addWidget(tabWidget, 0, 0, 1, 1); + scrollArea->setWidget(scrollAreaWidgetContents); vboxLayout->addWidget(scrollArea);