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

CSS properties not applying

Open sroy93 opened this issue 6 years ago • 4 comments

Hi, I have a checkbox element that is wrapped inside of a Carousel Item template (using nativescript-carousel) and for whatever reason, I cannot get CSS to apply to the checkbox element. It doesn't matter where I put the class tag, and the CSS applies just fine to a label element wrapped inside of the same stack layout within the same Item Template. Any ideas on this?

sroy93 avatar Aug 29 '19 18:08 sroy93

Same here, no CSS is applied to the element. I need to make the CheckBox about 3 or 4 times bigger than it is by default.

mrwrighty avatar Dec 03 '19 15:12 mrwrighty

So far the only solution that we found on our end is by setting it directly on the element with a style set to !important <CheckBox class="checkbox" style="font-size: 20pt!important;"></CheckBox>

AnthonyLenglet avatar Jan 23 '20 11:01 AnthonyLenglet

I used an image in the end, one image as an empty box and the other is box with tick and do and image swap on tap.

mrwrighty avatar Jan 23 '20 11:01 mrwrighty

@mrwrighty How you have done that, can you help me plz with code snippet

itsmerockingagain avatar Dec 29 '20 07:12 itsmerockingagain