Changeset 14720


Ignore:
Timestamp:
Mar 15, 2016, 9:25:46 PM (6 years ago)
Author:
mikedld
Message:

Only grow filter input up to 250px width, then stick to the right

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/FilterBar.cc

    r14590 r14720  
    235235
    236236  myActivityCombo = createActivityCombo ();
    237   myActivityCombo->setSizePolicy (QSizePolicy (QSizePolicy::Fixed, QSizePolicy::Fixed));
    238237  h->addWidget (myActivityCombo);
    239238
     
    242241  h->addWidget (myTrackerCombo);
    243242
     243  h->addStretch ();
     244
    244245  myLineEdit = new FilterBarLineEdit (this);
    245   h->addWidget (myLineEdit);
     246  myLineEdit->setMaximumWidth (250);
     247  h->addWidget (myLineEdit, 1);
    246248  connect (myLineEdit, SIGNAL (textChanged (QString)), this, SLOT (onTextChanged (QString)));
    247249
Note: See TracChangeset for help on using the changeset viewer.