[Kst] [Bug 116442] Kst settings dialog is "ridiculously wide"
Andrew Walker
arwalker at sumusltd.com
Fri Dec 2 01:07:23 CET 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=116442
------- Additional Comments From arwalker sumusltd com 2005-12-02 01:07 -------
SVN commit 484808 by arwalker:
CCBUG:116442 Explicitly set fixed number of columns to try and prevent a very wide widget.
M +7 -0 ktimezonecombo.cpp
--- trunk/extragear/graphics/kst/kst/ktimezonecombo.cpp #484807:484808
@ -18,6 +18,7 @
Boston, MA 02110-1301, USA.
*/
+#include <qlistbox.h>
#include <qmemarray.h>
#include <klocale.h>
@ -40,6 +41,12 @
db = new KstTimezones;
}
+ if (listBox()) {
+ listBox()->setVScrollBarMode(QScrollView::AlwaysOn);
+ listBox()->setColumnMode(QListBox::FixedNumber);
+ listBox()->setRowMode(QListBox::Variable);
+ }
+
insertItem("UTC");
const KstTimezones::ZoneMap zones = db->allZones();
d->_offsets.resize(zones.count()+1);
More information about the Kst
mailing list