Fix layout regression from r860035 that breaks up e.g.

Yakuake's UI by adding a margin around the terminal.

Robert, please seriously consider backporting this to 4.2.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=935623
wilder-portage
Eike Hein 17 years ago
parent 8295e3ecd7
commit 9f5d7da6e9
  1. 2
      src/ViewContainer.cpp

@ -785,6 +785,7 @@ StackedViewContainer::StackedViewContainer(QObject* parent)
searchBar()->setParent(_containerWidget);
layout->addWidget(searchBar());
layout->addWidget(_stackWidget);
layout->setMargin(0);
}
StackedViewContainer::~StackedViewContainer()
{
@ -830,6 +831,7 @@ ListViewContainer::ListViewContainer(NavigationPosition position,QObject* parent
searchBar()->setParent(contentArea);
layout->addWidget(_stackWidget);
layout->addWidget(searchBar());
layout->setMargin(0);
// elide left is used because the most informative part of the session name is often
// the rightmost part

Loading…
Cancel
Save