Commit 72a064fd authored by Sebastian Sauer's avatar Sebastian Sauer
Browse files

waste less space

svn path=/trunk/KDE/kdemultimedia/juk/; revision=887052
parent c98aeeee
...@@ -69,7 +69,7 @@ NowPlaying::NowPlaying(QWidget *parent, PlaylistCollection *collection, const ch ...@@ -69,7 +69,7 @@ NowPlaying::NowPlaying(QWidget *parent, PlaylistCollection *collection, const ch
CollectionList::instance()->addObserver(&m_observer); CollectionList::instance()->addObserver(&m_observer);
layout()->setMargin(5); layout()->setMargin(0);
layout()->setSpacing(3); layout()->setSpacing(3);
setFixedHeight(imageSize + 2 + layout()->margin() * 2); setFixedHeight(imageSize + 2 + layout()->margin() * 2);
...@@ -119,8 +119,6 @@ CoverItem::CoverItem(NowPlaying *parent) : ...@@ -119,8 +119,6 @@ CoverItem::CoverItem(NowPlaying *parent) :
{ {
setObjectName("CoverItem"); setObjectName("CoverItem");
setFixedHeight(parent->height() - parent->layout()->margin() * 2); setFixedHeight(parent->height() - parent->layout()->margin() * 2);
setFrameStyle(Box | Plain);
setLineWidth(1);
setMargin(1); setMargin(1);
setAcceptDrops(true); setAcceptDrops(true);
} }
......
...@@ -160,10 +160,12 @@ void PlaylistSplitter::setupLayout() ...@@ -160,10 +160,12 @@ void PlaylistSplitter::setupLayout()
QWidget *top = new QWidget(editorSplitter); QWidget *top = new QWidget(editorSplitter);
QVBoxLayout *topLayout = new QVBoxLayout(top); QVBoxLayout *topLayout = new QVBoxLayout(top);
topLayout->setMargin(0);
topLayout->setSpacing(0);
m_playlistStack = new Q3WidgetStack(top, "playlistStack"); m_playlistStack = new Q3WidgetStack(top, "playlistStack");
m_playlistStack->installEventFilter(this); m_playlistStack->installEventFilter(this);
m_playlistStack->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); m_playlistStack->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::MinimumExpanding);
m_playlistStack->hide(); // Will be shown after CollectionList filled. m_playlistStack->hide(); // Will be shown after CollectionList filled.
connect(m_playlistStack, SIGNAL(aboutToShow(QWidget *)), this, SLOT(slotPlaylistChanged(QWidget *))); connect(m_playlistStack, SIGNAL(aboutToShow(QWidget *)), this, SLOT(slotPlaylistChanged(QWidget *)));
......
...@@ -47,6 +47,7 @@ SearchLine::SearchLine(QWidget *parent, bool simple) ...@@ -47,6 +47,7 @@ SearchLine::SearchLine(QWidget *parent, bool simple)
m_searchFieldsBox(0) m_searchFieldsBox(0)
{ {
QHBoxLayout *layout = new QHBoxLayout(this); QHBoxLayout *layout = new QHBoxLayout(this);
layout->setMargin(0);
layout->setSpacing(5); layout->setSpacing(5);
if(!m_simple) { if(!m_simple) {
......
...@@ -506,7 +506,7 @@ void TagEditor::setupLayout() ...@@ -506,7 +506,7 @@ void TagEditor::setupLayout()
QHBoxLayout *layout = new QHBoxLayout(this); QHBoxLayout *layout = new QHBoxLayout(this);
layout->setSpacing(horizontalSpacing); layout->setSpacing(horizontalSpacing);
layout->setMargin(6); layout->setMargin(0);
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// define two columns of the bottem layout // define two columns of the bottem layout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment