[Qt-interest] WA_MacBrushedMetal gives me 8 px unwanted margin

Rens de Nobel rens at nimbuzz.com
Sun Apr 26 00:57:22 CEST 2009


Whenever I set the WA_MacBrushedMetal property on a Qt MacOS window/ 
widget, as discussed in
QQ 18, it automatically adds an 8 pixels margin to my window. See  
attached screenshot.

I use this code to set the property on the window:

this->setAttribute(Qt::WA_MacBrushedMetal , true);

The design for the window requires no margins. Is there any way to get  
rid of them?

Regards,


Rens de Nobel




More information about the Qt-interest-old mailing list