From c6fff07103832c3c7ae122ae100fd7b80d959d8d Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Mon, 10 Mar 2008 17:11:14 +0000 Subject: [PATCH] * 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 --- src/frontends/qt4/GuiToolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiToolbar.cpp b/src/frontends/qt4/GuiToolbar.cpp index 58d39ba564..0c571bb5ba 100644 --- a/src/frontends/qt4/GuiToolbar.cpp +++ b/src/frontends/qt4/GuiToolbar.cpp @@ -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()