Listbox with different color style

Hi everybody,

I am creating a web project and I have added a listbox. I have also created a new style to color the listbox in light-green. When I test my WebApp, it works perfectly but the listbox is colored in dark-blue. I use a MacBook Pro retina and I don’t know if the problem is the retina display or there is other problem. Could anyone help me to get the same color in my listbox, please?

Thank you very much,
Sergio

Yes, send the color you are using to see me on my Calibrated Professional Graphic Monitor and I’ll return later.

What are the values of your light green ?

You may want to have a look at HTML colors here : HTML Colors

I use RGB(229, 244, 217)/HEX (E5F4D9) in rows and RGB (0, 92, 37)/HEX (005C25) in header.

Thanks.

[quote=225947:@Sergio Ciordia]I use RGB(229, 244, 217)/HEX (E5F4D9) in rows and RGB (0, 92, 37)/HEX (005C25) in header.
[/quote]

How are you setting the colors of the WebListBox ? Are you using standard WebStyles or some JavaScript ?

For the rows I select a color in “PrimaryRowColor” and in “AlternateRowColor”. For the headerstyle, I create a web style and for table borders, I create other web style.

It is very strange because if I save the xojo project as a new file and run the webapp, the listbox colors are changed.

  1. Save As: https://www.dropbox.com/s/h4afxlpa2s780ic/Capture1.jpg?dl=0
  2. Save As: https://www.dropbox.com/s/5hv4ebwkifmlj6k/Capture2.jpg?dl=0

The header style is the same but the rows color is different when I save the project again.