Checkbox size

0 votes
asked Sep 25, 2016 in Help by anonymous
I'm trying to create a settings view for my game. The list of settings will eventually include a number buttons, checkboxes, sliders, etc.
 

I've created a stretched panel with a vertical layout, set the panel's PanelLayer child alignment to Upper Left, added a checkbox and removed its Content Size Fitter. After doing this, I ended up with what you see as the first checkbox (screenshot link below). I then managed to increase the size of the text and the toggle frame, but wasn't able to increase the size of the inner check mark to match its frame. Manually setting the size of the check mark seems to break the switch, as it displays the check mark whether it's clicked or not.
 

Here is a screenshot with what I currently have. http://oi67.tinypic.com/sm4thd.jpg
 

Is this a bug or am I not doing this correctly?

 
Thanks!

1 Answer

0 votes
answered Oct 1, 2016 by anonymous
Solved by adjusting the canvas scaler of the view to an odd pair of values. Looks good when running on iOS so I guess it's ok for now.

It would be nice to just have a size/scale property on the objects without having to rely on the canvas scaler though.
Welcome to MaterialUI support! Ask us anything :)
...