Styling the COMBOBOX

Questions and answers for designing and implementing forms in Servoy

Styling the COMBOBOX

Postby james.doonan » Tue Jun 14, 2016 4:15 pm

Hi there,

Wondering if anyone can help me out here. On the latest version of Servoy, is there a way that I can drop the grey background from the combobox? similar to if you uncheck the Show Click on the buttons. I don't really want to go and edit the look and feel and the CSS doesnt seem to let you edit the gray background.

Thanks
james.doonan
 
Posts: 14
Joined: Tue Jan 13, 2015 5:16 pm

Re: Styling the COMBOBOX

Postby Peter de Groot » Wed Jun 15, 2016 7:41 am

Hi,

check this http://www.duncanjauncey.com/java/ui/index.php

you can something like

MetalCOmboBoxUI.png
MetalCOmboBoxUI.png (4.21 KiB) Viewed 3391 times

Code: Select all
application.putClientProperty("ComboBoxUI", 'javax.swing.plaf.metal.MetalComboBoxUI');


or

combo.png
combo.png (3.29 KiB) Viewed 3391 times

Code: Select all
application.putClientProperty("ComboBoxUI", 'com.sun.java.swing.plaf.motif.MotifComboBoxUI');


Regards
User avatar
Peter de Groot
 
Posts: 215
Joined: Thu Jan 10, 2008 8:38 pm
Location: Not sure...

Re: Styling the COMBOBOX

Postby james.doonan » Fri Jun 17, 2016 1:49 pm

Thanks Peter,

I will give that a whirl.
james.doonan
 
Posts: 14
Joined: Tue Jan 13, 2015 5:16 pm


Return to Forms

Who is online

Users browsing this forum: Google [Bot] and 4 guests

cron