[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-04-20 15:32:26
Message-ID: 20100420153226.26A7AAC89D () svn ! kde ! org
[Download RAW message or body]
SVN commit 1116924 by aseigo:
make the minimum 2px, which looks infinitely better on really small panels with our \
artwork
M +4 -4 panel.cpp
--- trunk/KDE/kdebase/workspace/plasma/desktop/containments/panel/panel.cpp \
#1116923:1116924 @@ -432,16 +432,16 @@
if (m_layout) {
switch (location()) {
case LeftEdge:
- rightWidth = qMin(rightWidth, qMax(qreal(1), size().width() - \
KIconLoader::SizeMedium)); + rightWidth = qMin(rightWidth, qMax(qreal(2), \
size().width() - KIconLoader::SizeMedium)); break;
case RightEdge:
- leftWidth = qMin(leftWidth, qMax(qreal(1), size().width() - \
KIconLoader::SizeMedium)); + leftWidth = qMin(leftWidth, qMax(qreal(2), \
size().width() - KIconLoader::SizeMedium)); break;
case TopEdge:
- bottomHeight = qMin(bottomHeight, qMax(qreal(1), size().height() - \
KIconLoader::SizeMedium)); + bottomHeight = qMin(bottomHeight, \
qMax(qreal(2), size().height() - KIconLoader::SizeMedium)); break;
case BottomEdge:
- topHeight = qMin(topHeight, qMax(qreal(1), size().height() - \
KIconLoader::SizeMedium)); + topHeight = qMin(topHeight, qMax(qreal(2), \
size().height() - KIconLoader::SizeMedium)); break;
default:
break;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic