nativescript-checkbox icon indicating copy to clipboard operation
nativescript-checkbox copied to clipboard

Is it possible to change checkbox size?

Open erkanarslan opened this issue 7 years ago • 9 comments

I need to make them bigger on android and ios. How can I do this?

erkanarslan avatar Dec 20 '17 13:12 erkanarslan

I'm having this problem too, changing font-size is not having an effect.

lin-brian-l avatar Mar 26 '18 17:03 lin-brian-l

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.

bradmartin avatar Mar 26 '18 18:03 bradmartin

@erkanarslan @lin-brian-l Hi, as a workaround as mentioned here: #73 You can set fontSize directly on element. Tested on iOS.

MartinMitro avatar Apr 11 '18 07:04 MartinMitro

tested on latest release with fontSize="20" on element, unfortunately not working

artdias90 avatar Jun 14 '18 14:06 artdias90

use scaleX and scaleY in xml, for example scaleX="1.2" scaleY="1.2"

ghost avatar Jun 28 '18 07:06 ghost

@giorgi-abashidze - works great! Thanks!

bzaruk avatar Jun 28 '18 08:06 bzaruk

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.

artdias90 avatar Jul 17 '18 12:07 artdias90

how to increase the checkbox size in xamarin forms without increasing thickness of border

akashathletics avatar Aug 30 '19 06:08 akashathletics

Get reference to Checkbox and checkboxRef.fontSize = 32 [iOS]. For Android scaleX and scaleY is the only workaround I've found.

mrcretu avatar Mar 23 '20 14:03 mrcretu