[Interest] QSS/CSS styling a border on a combo removes styles from dropdown control

2013-11-27 Thread Philipp Kursawe
I wonder if that is a bug: If I style a QComboBox's border with a 2px solid red it looses its style on the dropdown arrow, which happened to be flat styled (on Windows) and then appears in 3D beveled style like old Win95. No more styles have been applied to this combo via css. Whats going on

Re: [Interest] QSS/CSS styling a border on a combo removes styles from dropdown control

2013-11-27 Thread Philipp Kursawe
That's what I already did. I am using the second variant. On Wed, Nov 27, 2013 at 12:07 PM, Nurmi J-P jpnu...@digia.com wrote: On 27 Nov 2013, at 11:10, Philipp Kursawe phil.kurs...@gmail.com wrote: I wonder if that is a bug: If I style a QComboBox's border with a 2px solid red it looses

Re: [Interest] QSS/CSS styling a border on a combo removes styles from dropdown control

2013-11-27 Thread Philipp Kursawe
Well, I am not applying the style to the combobox itself, but to the apps global stylesheet like this: QComboBox.error { border:2px solid red; } And the combobox property is set like this: combo-setProperty(class, error); On Wed, Nov 27, 2013 at 12:46 PM, Philipp Kursawe

Re: [Interest] QSS/CSS styling a border on a combo removes styles from dropdown control

2013-11-27 Thread Nurmi J-P
On 27 Nov 2013, at 12:46, Philipp Kursawe phil.kurs...@gmail.com wrote: That's what I already did. I am using the second variant. On Wed, Nov 27, 2013 at 12:07 PM, Nurmi J-P jpnu...@digia.com wrote: On 27 Nov 2013, at 11:10, Philipp Kursawe phil.kurs...@gmail.com wrote: I wonder if

Re: [Interest] QSS/CSS styling a border on a combo removes styles from dropdown control

2013-11-27 Thread Philipp Kursawe
Thanks! I usually do not like to write custom code for such things. I think this is a bug on side of the combox implementation to get rid of any native rendering when you set the border style. It falls back to a non-standard style (looks like Win 3.1). On Wed, Nov 27, 2013 at 1:15 PM, Nurmi J-P