Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.5.2
-
None
-
Observed on Mac 10.5.8, Qt 4.5.1 and Qt 4.5.2, built using Qt Creator 1.2
Description
In the attached sample GUI applcation, a searchtool widget is added to the main application toolbar.
That widget is a composite of child widgets with a layout that attempts to place a QLineEdit control on the left edge of the toolbar using a horizontal layout.
The "trick" works for normal toolbars.
But on Mac, when the unifiedTitleAndToolBarOnMac property is enabled via setUnifiedTitleAndToolBarOnMac(true), the layout is defeated and the QLineEdit control is no longer left justified within the toolbar.
To reproduce, build the attached project and use the "unify" toolbar button to set and unset the UnifiedTitleAndToolBarOnMac property. Observer the layout changes.