mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Stop Filter box expanding in config dialogs
.. we have a filter box on most trends charts config dialogs and elsewhere. But when you resized the dialog the filter box would also stretch (even though it is a QLineEdit). .. this commit sets the vertical size policy to fixed to stop this ugly behaviour.
This commit is contained in:
@@ -35,7 +35,7 @@ SearchFilterBox::SearchFilterBox(QWidget *parent, Context *context, bool nochoos
|
||||
|
||||
// no column chooser if my parent widget is a modal widget
|
||||
searchbox = new SearchBox(context, this, nochooser);
|
||||
searchbox->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
|
||||
searchbox->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed));
|
||||
contents->addWidget(searchbox);
|
||||
|
||||
freeSearch = new FreeSearch(this, context);
|
||||
|
||||
Reference in New Issue
Block a user