nativescript-checkbox
nativescript-checkbox copied to clipboard
Is it possible to change checkbox size?
I need to make them bigger on android and ios. How can I do this?
I'm having this problem too, changing font-size
is not having an effect.
Have not had time to look into this. Would like to but not much free time right now. If anyone finds a solution, feel free to PR or post here and I can help someone implement it.
@erkanarslan @lin-brian-l Hi, as a workaround as mentioned here: #73 You can set fontSize directly on element. Tested on iOS.
tested on latest release with fontSize="20"
on element, unfortunately not working
use scaleX and scaleY in xml, for example scaleX="1.2" scaleY="1.2"
@giorgi-abashidze - works great! Thanks!
you can scale the box, but the triggered area is not being scaled as well. its still hard to tap on the checkbox even if bigger.
how to increase the checkbox size in xamarin forms without increasing thickness of border
Get reference to Checkbox and checkboxRef.fontSize = 32 [iOS]. For Android scaleX and scaleY is the only workaround I've found.