[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/applets/quicklaunch
From: Beat Wolf <asraniel () fryx ! ch>
Date: 2009-07-22 20:48:03
Message-ID: 1248295683.420711.24468.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1001298 by beatwolf:
fix the size calculation of quicklaunch
BUG:200868
M +4 -1 quicklaunchApplet.cpp
--- trunk/KDE/kdebase/workspace/plasma/applets/quicklaunch/quicklaunchApplet.cpp #1001297:1001298
@@ -248,8 +248,11 @@
m_arrow->hide();
}
- setPreferredSize(m_layout->preferredSize() + QSize(4, 4));
+ int cols = qMax(1,m_innerLayout->columnCount());
+ setPreferredSize(QSize((m_iconSize + 6) * cols,
+ (m_iconSize + 6) * (qMax(1, qMin(m_icons.size(), m_visibleIcons)) / cols)));
+
if (m_dialog) {
m_dialog->close();
m_dialogLayout->updateGeometry();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic