Wow! That is awesome, gonna try it out. On Wednesday, March 14, 2018 at 1:09:33 PM UTC+8, Shai Almog wrote: > > You can use addThemeProps() to add a theme layer on top e.g. this guy used > it to increase font size: > > > https://stackoverflow.com/questions/48851909/codename-one-modify-a-font-size-in-a-theme-like-in-an-hashtable > > Color is even simpler as its just a HEX RGB string e.g. "ffffff" so you > can code it as > > HashMap themeLayer = new HashMap(); > themeLayer.put("MyComponent.bgColor", "cccccc"); > UIManager.getInstance().addThemeProps(themeLayer); > form.refreshTheme(); > > >
-- 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 codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/d0a87bbb-aff6-4a54-a9e5-91e6a2488c26%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.