I am trying to test NTextField in Xcode, i have already Implement a 
cn1-native-controls in my project and implementation has ben well done.  but, 
unfortunately the app crash while i trying to instantiate "NTextField". I 
extracted the generated source code & run it on Xcode this is the error log 
trace I got: (screen shot)


my code is :


         NTextField tf1 = new NTextField(TextField.PASSWORD);

            
tf1.getAllStyles().setFont(Font.createTrueTypeFont(Font.NATIVE_MAIN_LIGHT, 
15f));

            System.out.println("Finished setting font");

            tf1.getAllStyles().setFgColor(0x003300);

            tf1.getAllStyles().setBgTransparency(255);

            tf1.getAllStyles().setBgColor(0xcccccc);

            tf1.getAllStyles().setAlignment(CENTER);


Do you have any fix for this issue?



If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans
Desktop OS : MacOS
Simulator : Iphone XR
Device

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/556ed685-57a2-434d-864c-6a89a6e83ac2%40googlegroups.com.

Reply via email to