--- a/src/hbcore/gui/hbtoolbar.cpp Thu May 27 13:10:59 2010 +0300
+++ b/src/hbcore/gui/hbtoolbar.cpp Fri Jun 11 13:58:22 2010 +0300
@@ -341,6 +341,13 @@
HbWidget::hideEvent(event);
}
+QRectF HbToolBar::boundingRect() const
+{
+ QRectF orginalRect(HbWidget::boundingRect());
+ orginalRect.setTop(orginalRect.top() + 1.0);
+ return orginalRect;
+}
+
/*!
\reimp
*/
@@ -387,4 +394,13 @@
}
}
+void HbToolBar::polish(HbStyleParameters ¶ms)
+{
+ Q_D(HbToolBar);
+ HbWidget::polish(params);
+ if (d->mDoLayoutPending) {
+ d->doLayout();
+ }
+}
+
#include "moc_hbtoolbar.cpp"