Change SearchWidget to use a grid layout and remove double margins.

This commit is contained in:
Felix Geyer 2012-05-27 16:15:54 +02:00
parent 089bcba89f
commit 3e72cd11a3
2 changed files with 53 additions and 30 deletions

View file

@ -503,10 +503,12 @@ void DatabaseWidget::showSearch()
Q_ASSERT(m_lastGroup);
if (m_lastGroup == m_db->rootGroup()) {
m_searchUi->optionsWidget->hide();
m_searchUi->searchCurrentRadioButton->hide();
m_searchUi->searchRootRadioButton->hide();
}
else {
m_searchUi->optionsWidget->show();
m_searchUi->searchCurrentRadioButton->show();
m_searchUi->searchRootRadioButton->show();
m_searchUi->searchCurrentRadioButton->setText(tr("Current group")