Tranparent combobox background
General and Desktop
8
Posts
3
Posters
5.3k
Views
1
Watching
-
wrote on 6 Apr 2011, 07:07 last edited by
Hello,
What is the css code for making QComBox transparent?
Gaurav
-
wrote on 6 Apr 2011, 07:11 last edited by
did you try using a style sheet? There the following should be possible:
@
QComboBox,
QComboBox QLineEdit,
{
background: transparent;
}
@ -
wrote on 11 Apr 2011, 12:30 last edited by
-
wrote on 11 Apr 2011, 12:46 last edited by
What do you want to show with this picture?
Do you want round corners or a transparent combo?
-
wrote on 11 Apr 2011, 12:49 last edited by
Look closely at the picture. You can see black corners on a dark grey background.
-
wrote on 11 Apr 2011, 13:02 last edited by
Hi gauravofindia,
did you try the following:
@
QComboBox,
QComboBox QLineEdit,
{
background: transparent;
border-width: 0px;
border-style: transparent
border-radius: 4px;
}
@perhaps it helps.
-
wrote on 12 Apr 2011, 07:55 last edited by
Hi Gerolf,
This still does not work :(
Gaurav
-
wrote on 12 Apr 2011, 08:00 last edited by
Hm,
the I have currently no idea why it is that way, sorry...
1/8