1
votes

I am using the CodenameOne blue theme ('shipped with' CodenameOne). I added checkboxes to a BoxLayout.Y container. When selecting one of the checkboxes, the checkbox is getting smaller and wider. I looked in the theme but I can't find out why. Tested on Android 4.4

I added two images to show what happens. In the first, METAR was checked (and unchecked I guess), in the second, TAF was checked.

After checking another one, the size of the checkbox selected before is normal again.

METAR was checked and unchecked and is smaller (height) and wider

TAF is checked and is smaller in height

1

1 Answers

3
votes

There are 4 different state selected,unselected , pressed and disabled . And all styles of checkbox can be viewed in theme and as the screenshot there is blank in pressed and disabled style so generate the styles from theme.