r17953 by fschmid - Fixed Bug #11246: Drop down list for layers in the status bar is too small

scribus-commit scribus-commit at lists.scribus.net
Mon Dec 10 22:14:27 UTC 2012


Author: fschmid
Date: Mon Dec 10 22:14:27 2012
New Revision: 17953

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17953
Log:
Fixed Bug #11246: Drop down list for layers in the status bar is too small

Modified:
    trunk/Scribus/scribus/scribusview.cpp

Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17953&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp (original)
+++ trunk/Scribus/scribus/scribusview.cpp Mon Dec 10 22:14:27 2012
@@ -293,10 +293,12 @@
 	layerMenu->setEditable(false);
 	layerMenu->setFont(fo);
 	layerMenu->setFocusPolicy(Qt::NoFocus);
+	layerMenu->setSizeAdjustPolicy(QComboBox::AdjustToContents);
 	visualMenu = new QComboBox( this );
 	visualMenu->setFocusPolicy(Qt::NoFocus);
 	visualMenu->setFont(fo);
 	visualMenu->setEnabled(false);
+	visualMenu->setSizeAdjustPolicy(QComboBox::AdjustToContents);
 	horizRuler = new Hruler(this, Doc);
 	vertRuler = new Vruler(this, Doc);
 	horizRuler->installEventFilter(this);




More information about the scribus-commit mailing list