[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread/dialogs
From:       Marijn Kruisselbrink <m.kruisselbrink () student ! tue ! nl>
Date:       2010-11-01 21:45:56
Message-ID: 20101101214556.0A9D8AC89B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1192068 by mkruisselbrink:

don't let giant recent filenames resize the dialog to be so big it doesn't fit on any screen anymore
BUG: 255829

 M  +1 -0      LinkDialog.cpp  


--- trunk/koffice/kspread/dialogs/LinkDialog.cpp #1192067:1192068
@@ -127,6 +127,7 @@
     fLayout->addWidget(new QLabel(i18n("Recent file:"), d->filePage));
     KComboBox* recentFile = new KComboBox(d->filePage);
     recentFile->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
+    recentFile->setMinimumContentsLength(40);
     fLayout->addWidget(recentFile);
     fLayout->addItem(new QSpacerItem(0, 40, QSizePolicy::Minimum, QSizePolicy::MinimumExpanding));
     connect(d->fileText, SIGNAL(textChanged(const QString&)), this,
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic