From dac41f84ad159a183022ff7a5ada10de1cd7174e Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 24 Aug 2007 14:20:03 +0000 Subject: [PATCH] give the thumbnail list, the toc and the bookmark list a coherent look svn path=/trunk/KDE/kdegraphics/okular/; revision=704267 --- part.cpp | 2 +- ui/bookmarklist.cpp | 8 ++------ ui/toc.cpp | 8 ++------ 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/part.cpp b/part.cpp index 2e68347cd..7ce186bda 100644 --- a/part.cpp +++ b/part.cpp @@ -182,7 +182,7 @@ m_searchStarted(false), m_cliPresentation(false) // [left toolbox: Thumbnails and Bookmarks] | [] KVBox * thumbsBox = new ThumbnailsBox( 0 ); - thumbsBox->setSpacing( 4 ); + thumbsBox->setSpacing( 6 ); m_searchWidget = new SearchWidget( thumbsBox, m_document ); m_thumbnailList = new ThumbnailList( thumbsBox, m_document ); // ThumbnailController * m_tc = new ThumbnailController( thumbsBox, m_thumbnailList ); diff --git a/ui/bookmarklist.cpp b/ui/bookmarklist.cpp index 2c2f590de..71be1616f 100644 --- a/ui/bookmarklist.cpp +++ b/ui/bookmarklist.cpp @@ -73,14 +73,10 @@ BookmarkList::BookmarkList( Okular::Document *document, QWidget *parent ) { QVBoxLayout *mainlay = new QVBoxLayout( this ); mainlay->setMargin( 0 ); - - QHBoxLayout *searchlay = new QHBoxLayout(); - searchlay->setMargin( 2 ); - searchlay->setSpacing( 2 ); - mainlay->addLayout( searchlay ); + mainlay->setSpacing( 6 ); m_searchLine = new KTreeWidgetSearchLine( this ); - searchlay->addWidget( m_searchLine ); + mainlay->addWidget( m_searchLine ); m_tree = new QTreeWidget( this ); mainlay->addWidget( m_tree ); diff --git a/ui/toc.cpp b/ui/toc.cpp index 1d2bf8103..9509e756b 100644 --- a/ui/toc.cpp +++ b/ui/toc.cpp @@ -93,14 +93,10 @@ TOC::TOC(QWidget *parent, Okular::Document *document) : QWidget(parent), m_docum { QVBoxLayout *mainlay = new QVBoxLayout( this ); mainlay->setMargin( 0 ); - - QHBoxLayout *searchlay = new QHBoxLayout(); - searchlay->setMargin( 2 ); - searchlay->setSpacing( 2 ); - mainlay->addLayout( searchlay ); + mainlay->setSpacing( 6 ); m_searchLine = new KTreeWidgetSearchLine( this ); - searchlay->addWidget( m_searchLine ); + mainlay->addWidget( m_searchLine ); m_treeView = new QTreeWidget( this ); mainlay->addWidget( m_treeView );