forked from qt-creator/qt-creator
Avoid setting large minimum size for output panes.
The search result pane set a minimum size for the "New Search" panel which forced this relative big minimum size on all panels and made it impossible to make the output pane area small. Now, the new search is wrapped into a scroll area, doesn't enforce a minimum size anymore, and, instead, when initiating a new search (via shortcut or menu action) resizes the pane so the panel fits nicely. Change-Id: I9afe67e66f324111a10a97f33c203846231e6a93 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -78,15 +78,16 @@ public:
|
||||
virtual void goToPrev() = 0;
|
||||
|
||||
public slots:
|
||||
void popup() { popup(true); }
|
||||
void popup(bool withFocus) { emit showPage(withFocus); }
|
||||
void popup() { popup(true, false); }
|
||||
void popup(bool withFocus) { popup(withFocus, false); }
|
||||
void popup(bool withFocus, bool ensureSizeHint) { emit showPage(withFocus, ensureSizeHint); }
|
||||
void hide() { emit hidePage(); }
|
||||
void toggle() { toggle(true); }
|
||||
void toggle(bool withFocusIfShown) { emit togglePage(withFocusIfShown); }
|
||||
void navigateStateChanged() { emit navigateStateUpdate(); }
|
||||
|
||||
signals:
|
||||
void showPage(bool withFocus);
|
||||
void showPage(bool withFocus, bool ensureSizeHint);
|
||||
void hidePage();
|
||||
void togglePage(bool withFocusIfShown);
|
||||
void navigateStateUpdate();
|
||||
|
||||
Reference in New Issue
Block a user