[Qt-interest] qtoolbar stylesheet

Jon Crowe jonc at ukfsn.org
Tue Jan 6 00:17:39 CET 2009


As a follow up, if I set a margin in the stylesheet, as follows:

QToolBar {
	margin: 2px;
	border-image: url(:/images/box.png);
}

The corners of the toolbar are square, (ie: not radiused). This is what I 
want, but I don't want a margin unfortunately! Can anyone shed any light on 
where I am going wrong, or is this connected to the bug 134573?


On Sunday 04 January 2009 22:10:43 Jon Crowe wrote:
> Hi,
>
> I'm trying to style a QToolBar. At present, the toolbar appears to have
> radiused corners, which I can't get rid of. This leaves unsightly white
> marks at the corners of the toolbar. Has anyone come across this, or does
> anyone know how I can avoid this issue?
>
> Thanks,
>
> Jon.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list