PDA

View Full Version : QTabBar stylesheet problem



shud
28th November 2009, 12:15
Hi,
When I set this stylesheet QTabBar::tab { margin-top: 5px; } to a qtabwidget
the default style is lost. How I set this property and keep the default style?

Thank you.

axeljaeger
28th November 2009, 12:54
This is not possible. Setting a stylesheet is implemented by replacing the system native style with a special CSS-style that on longer uses native elements.

If you are disapointed by this behavior, think whether it could really be implement: For example: If you want a mac scrollbar that is 30px wide, it cannot be displayed because there is no graphics for this size in the native style.