[Android-development] Stylesheet with QDoubleSpinBox when using ministro
maitai at virtual-winds.org
maitai at virtual-winds.org
Mon Mar 24 08:47:58 CET 2014
Ok, it's here: https://bugreports.qt-project.org/browse/QTBUG-37728
Thanks
Philippe.
Le 24-03-2014 07:16, BogDan a écrit :
> Hi,
>
> Please create a bugreport (https://bugreports.qt-project.org).
>
> Cheers,
> BogDan.
>
>>
>> Hello,
>>
>> I am trying to set the background color of several QDoubleSpinBoxes
>> with
>> no luck.
>>
>> I have tried a combination of stylesheets and palettes, all of them
>> working on other platforms (windows/linux and mac-os), but I cannot
>> seem
>> to be able to change the background color of a QDoubleSpinBox, if
>> deployed using ministro. The most obvious try is:
>>
>> myDoubleSpinBox->setStyleSheet("background-color:
>> QColor(Qt::blue);");
>>
>> This works on other platforms. This also works on Android if I deploy
>> without ministro. But when I deploy with ministro, this has no effect.
>> I
>> can change the text color, but not the background color. I can see
>> some
>> blue for the border of the doubleSpinBox, but the background content
>> itself remains black in my case.
>>
>> The weird thing is really that it works normally if I deploy without
>> ministro.
>>
>> Changing the background-color for other widgets like QFrame, QLabel,
>> QGroupBox, etc is ok with or without ministro, my problem is only with
>> QDoubleSpinBox (so far...).
>>
>> Thanks for any tip...
>>
>> Philippe LELONG
>> _______________________________________________
>> Android-development mailing list
>> Android-development at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/android-development
>>
More information about the Android-development
mailing list