* 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:
Stefan Schimanski 2008-03-10 17:11:14 +00:00
parent b1ac3c3e83
commit c6fff07103

View File

@ -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()