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 );