[Qt-interest] setStylesheet resets all other properties of a widget
Giacomo
giacomo.strangolino at elettra.trieste.it
Wed Feb 24 12:37:03 CET 2010
Good morning.
In Qt 4.4.3 I am experiencing the following problem.
Open designer, create a new QWidget, add a QLabel.
Change frameShape property.
set the styleSheet property "font-size:22px;"
The frameShape property is lost.
This applies to all styling properties: setting a stylesheet resets all style
characteristics, both in designer and runtime.
Is this a known bug?
If so, can anyone tell me which is the release from which the bug has been
fixed?
In Qt 4.6 the stylesheet work correctly as expected.
Cheers Giacomo.
Elettra - Synchrotron Radiation Facility
Trieste, Italy.
More information about the Qt-interest-old
mailing list