[Qt-interest] setStylesheet resets all other properties of a widget
Duane Hebert
spoo at flarn.com
Wed Feb 24 14:10:36 CET 2010
"Yuvraj" <yuvraj.ragupathi at indieontech.com> wrote in message news:4B85139F.3010006 at indieontech.com...
> Giacomo wrote:
>> 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.
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>>
> Apply your style sheet only for QLabel
I think that he's doing that. We see the same thing here.
More information about the Qt-interest-old
mailing list