[Qt-interest] Unified ToolBar question

phas phas.nao at gmail.com
Thu Mar 12 16:14:16 CET 2009


Hello.
I have a question of QToolBar.

I setted stylesheet.

QToolBar {
	margin: 0px;
	padding: 0px;
	spacing: 0px;
}

QToolBar QToolButton {
	margin: 0px;
	padding: 0px;
	spacing: 0px;
}

and used "QToolBar::setUnifiedTitleAndToolBarOnMac".
please, see captured image.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ToolBarProblem.jpg
Type: image/jpeg
Size: 18611 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090313/857e994a/attachment.jpg 
-------------- next part --------------

"Normal QToolBar" has no space outside of QToolButton.
But "Unified QToolBar" has some spaces about 5px at bottom.

How set Unified QToolBar like Cocoa Application?


More information about the Qt-interest-old mailing list