True Type fonts don't seem to work on Windows phone.

The first screenshot is from Android, the second from Lumia 640 WP10.

Form hi = new Form("Welcome");
        hi.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
        hi.setScrollableX(false);
        hi.setScrollableY(true);

        Label l = new Label("THIS IS 10, this is 10");
        l.setUIID("BigLabel10");
        hi.add(l);
        l = new Label("THIS IS 8, this is 8");
        l.setUIID("BigLabel8");
        hi.add(l);
        l = new Label("THIS IS 6, this is 6");
        l.setUIID("BigLabel6");
        hi.add(l);
        l = new Label("THIS IS 4, this is 4");
        l.setUIID("BigLabel4");
        hi.add(l);
        l = new Label("THIS IS 3, this is 3");
        l.setUIID("BigLabel3");
        hi.add(l);
        l = new Label("THIS IS 2.5, this is 2.5");
        l.setUIID("BigLabel2point5");
        hi.add(l);
        l = new Label("THIS IS 2, this is 2");
        l.setUIID("BigLabel2");
        hi.add(l);

        hi.show();

-- 
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].
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/772f9f5b-a7fa-4f89-91cb-a2f9ca806212%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to