mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
- The layout combox box has now a maximum number of 30 visible items. In the future it would be better to calculate the optimal value based on the work area height.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13491 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6b354a2230
commit
299a19c3c0
@ -84,6 +84,7 @@ QLayoutBox::QLayoutBox(QToolBar * toolbar, QtView & owner)
|
||||
combo_->setSizeAdjustPolicy(QComboBox::AdjustToContents);
|
||||
combo_->setFocusPolicy(Qt::ClickFocus);
|
||||
combo_->setMinimumWidth(combo_->sizeHint().width());
|
||||
combo_->setMaxVisibleItems(30);
|
||||
|
||||
QObject::connect(combo_, SIGNAL(activated(const QString &)),
|
||||
this, SLOT(selected(const QString &)));
|
||||
|
Loading…
Reference in New Issue
Block a user