Hi, be careful with derive. You can create a cyclic dependency easily and trigger a failure. We suggest using it sparingly.
If you use millimeter sizes things should be fine. Notice that the sizes in pixels will be different and will look different in the simulator but on the devices they should look similar due to DPI differences between the devices. On Monday, August 3, 2020 at 4:16:38 PM UTC+3 [email protected] wrote: > Hi, > > I'm facing the issue with styling the application I'm working on. The > style which I created looks > different on various devices. How can I arrange the proportional chnage of > text on larger screen > (see attached file, it is created on simulator ... The bigger screen the > smaller text). > > When I used cn1-derive tag in css file I get repeating error message on > console > CSS> Compile of C:\projects\TestApp\css\theme.css failed > CSS> java.lang.StackOverflowError > CSS> at > com.codename1.designer.css.CSSTheme$Element.getFlattenedStyle(CSSTheme.java:3166) > > Thank you for your response > -- 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/dc51be5c-ccf3-4adb-baf4-ee27eafd7666n%40googlegroups.com.
