More layout fixes

- Cleaned up frames in the QML inspactor.
- Do not force toolbar height for designer widgets
This commit is contained in:
Jens Bache-Wiig
2010-03-17 14:36:09 +01:00
parent 2d45bb8070
commit 195b17979d
6 changed files with 6 additions and 2 deletions

View File

@@ -275,7 +275,7 @@ void ManhattanStyle::polish(QWidget *widget)
}
else if (qobject_cast<QLabel*>(widget))
widget->setPalette(panelPalette(widget->palette()));
else if (qobject_cast<QToolBar*>(widget) || widget->property("panelwidget_singlerow").toBool())
else if (widget->property("panelwidget_singlerow").toBool())
widget->setFixedHeight(Utils::StyleHelper::navigationWidgetHeight());
else if (qobject_cast<QStatusBar*>(widget))
widget->setFixedHeight(Utils::StyleHelper::navigationWidgetHeight() + 2);