My CodenameOne app user interface has strange background color that I am 
not able to get rid of.
In the attached image you can see that the background is gray.
I want that it is white.
A general theme is what is loaded at startup.
Then
I made some attempts:
1 - I created an item for containers inside the main theme with 
background=gradient white->white
That caused that a white curtain covered all the user interface.
2 - I created another theme file: white_container_theme with just one item, 
the same of above for white container background
That also had no effect, it was assigned with the code provided below

Resources theme = null;
try {
theme = Resources.openLayered("/white_container_theme");
} catch (IOException e) {

}
area.setInlineStylesTheme(theme);
3 - assigned a bg color
area.getStyles().setBackGroundColor();

No one worked.

Notice that I have other items inside the main theme and they work, for 
example TextFields with border, but TextFields themselves have that gray 
background too and if I add with white->white gradient background to their 
item it has no effect.

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9bf5f025-1622-42bd-95c0-8c00beda4ec3n%40googlegroups.com.

Reply via email to