[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/desktop/containments/panel
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2010-05-04 4:46:49
Message-ID: 20100504044649.A7513AC8AB () svn ! kde ! org
[Download RAW message or body]
SVN commit 1122530 by aseigo:
updateBorders set the content margins, so not setting the margins first to 0 prevents \
an ugly first resize of all applets (not to mention a lot of cpu cycles)
M +1 -2 panel.cpp
--- trunk/KDE/kdebase/workspace/plasma/desktop/containments/panel/panel.cpp \
#1122529:1122530 @@ -134,11 +134,10 @@
//setFlag(ItemClipsChildrenToShape, true);
m_layout = new QGraphicsLinearLayout(this);
- m_layout->setContentsMargins(0, 0, 0, 0);
m_layout->setSpacing(4);
m_layout->setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding));
- setLayout(m_layout);
updateBorders(geometry().toRect());
+ setLayout(m_layout);
m_layout->setMaximumSize(size());
KConfigGroup cg = config("Configuration");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic