[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace
From: Marco Martin <notmart () gmail ! com>
Date: 2010-12-10 22:11:59
Message-ID: 20101210221159.AE9BAAC8A7 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1205334 by mart:
tweak alignment and layout margins:
all is better aligned, the scrollwidget doesn't have the embossed borders since the \
width is 100% the screen isn't needed a slightly cleaner look overall
M +1 -0 libs/plasmagenericshell/abstracticonlist.cpp
M +2 -1 libs/plasmagenericshell/widgetsexplorer/appletsfiltering.cpp
M +1 -0 libs/plasmagenericshell/widgetsexplorer/widgetexplorer.cpp
M +1 -0 plasma/desktop/shell/activitymanager/activitymanager.cpp
--- trunk/KDE/kdebase/workspace/libs/plasmagenericshell/abstracticonlist.cpp \
#1205333:1205334 @@ -52,6 +52,7 @@
m_searchDelayTimer(new QTimer(this)),
m_iconSize(16)
{
+ setOverflowBordersVisible(false);
m_searchDelayTimer->setSingleShot(true);
m_searchDelayTimer->setInterval(SEARCH_DELAY);
connect(m_searchDelayTimer, SIGNAL(timeout()), this, SLOT(setSearch()));
--- trunk/KDE/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer/appletsfiltering.cpp \
#1205333:1205334 @@ -261,6 +261,7 @@
newLayout->addItem(m_newWidgetsButton);
newLayout->addItem(m_closeButton);
setLayout(newLayout);
+ newLayout->setContentsMargins(4, 0, 0, 4);
} else {
m_textSearch->setPreferredHeight(30);
m_textSearch->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
@@ -272,10 +273,10 @@
newLayout->addItem(m_categories, 1, 0, 1, 2);
newLayout->addItem(m_newWidgetsButton, 2, 0, 1, 2);
setLayout(newLayout);
+ newLayout->setContentsMargins(0, 4, 4, 0);
}
m_categories->setVisible(true);
- layout()->setContentsMargins(0, 0, 0, 0);
}
void FilteringWidget::setMenuPos()
--- trunk/KDE/kdebase/workspace/libs/plasmagenericshell/widgetsexplorer/widgetexplorer.cpp \
#1205333:1205334 @@ -150,6 +150,7 @@
location = loc;
orientation = ((location == Plasma::LeftEdge || location == \
Plasma::RightEdge)?Qt::Vertical:Qt::Horizontal); mainLayout = new \
QGraphicsLinearLayout(Qt::Vertical); + mainLayout->setContentsMargins(0, 0, 0, 0);
mainLayout->setSpacing(0);
filteringWidget = new FilteringWidget(orientation, q);
appletsListWidget = new AppletsListWidget(location);
--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/activitymanager/activitymanager.cpp \
#1205333:1205334 @@ -85,6 +85,7 @@
}
mainLayout = new QGraphicsLinearLayout(Qt::Vertical);
+ mainLayout->setContentsMargins(0, 0, 0, 0);
mainLayout->setSpacing(0);
filteringLayout = new QGraphicsLinearLayout(Qt::Horizontal);
filteringWidget = new FilterBar(orientation, q);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic