IDE: Eclipse
Simulator
native theme
Toggle button appears to be one pixel too wide. In the screenshots you can
see that the right border is not being drawn. The screenshot includes the
main app as well as a small test app.
protected void initManualComponents() {
setLayout(new BorderLayout());
Container cntRoom = new Container(new GridLayout(12,2));
Label lblPreferred = new Label("Room:");
lblPreferred.setAlignment(Label.RIGHT);
cntRoom.add(lblPreferred);
cntRoom.add(CheckBox.createToggle("Test1"));
cntRoom.add(new Label());
cntRoom.add(CheckBox.createToggle("Test2"));
cntRoom.add(new Label());
cntRoom.add(CheckBox.createToggle("Test3"));
cntRoom.add(new Label());
add(BorderLayout.CENTER, cntRoom);
}
<https://lh3.googleusercontent.com/-3H1m4syL07M/V-PrRdxcmSI/AAAAAAAAEUM/hCBn6ZUEslQFbHxLEw7BqC2w8CsgP59WACLcB/s1600/Screenshot%2Bfrom%2B2016-09-22%2B07-26-10.png>
--
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/41675c5d-b43e-4175-9547-15d7cf4759d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.