Can you post the stack trace from Xcode?
On Thu, Apr 2, 2020 at 6:04 PM B3G B3G <[email protected]> wrote:
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/556ed685-57a2-434d-864c-6a89a6e83ac2%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/556ed685-57a2-434d-864c-6a89a6e83ac2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com
--
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/CAGOYrKVEpoLAVt0S7OtKLK22VNRM1nPGog0OomUyw-R6O_k%3DjA%40mail.gmail.com.