mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
* patch by Pavel to make the layout list look like it used to be in 1.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23644 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b1ac3c3e83
commit
c6fff07103
@ -479,7 +479,7 @@ private:
|
||||
menuOption.font = combo->font();
|
||||
menuOption.fontMetrics = QFontMetrics(menuOption.font);
|
||||
menuOption.rect = option.rect;
|
||||
menuOption.rect.setHeight(menuOption.fontMetrics.height() + 2);
|
||||
menuOption.rect.setHeight(menuOption.fontMetrics.height());
|
||||
menuOption.menuRect = menuOption.rect;
|
||||
menuOption.tabWidth = 0;
|
||||
menuOption.text = index.model()->data(index, Qt::DisplayRole).toString()
|
||||
|
Loading…
Reference in New Issue
Block a user