Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the color of tick in ios #139

Open
itsmerockingagain opened this issue Dec 29, 2020 · 1 comment
Open

Changing the color of tick in ios #139

itsmerockingagain opened this issue Dec 29, 2020 · 1 comment

Comments

@itsmerockingagain
Copy link

Can anyone help me on how we can change the tick color in ios?

@markosole
Copy link

Here is full example of having it in white color, you can use it as example and adjust your needs

<iOS><CheckBox:CheckBox fillColor="white" tintColor="white" onCheckColor="red" onTintColor="white" onFillColor="white" color="white" col="0" marginLeft="7" marginTop="8" paddingBottom="5" row="0" horizontalAlignment="left" class="filter-label" checked="{{ yourObservable }}" text="My check Box" id="myCheckbox"/></iOS>

Wrapping it inside allows u to enable it only on iOS and for Android you can use same principle, with example for same result but different config:

<Android><CheckBox:CheckBox fillColor="white" color="white" col="0" marginLeft="7" marginTop="5" row="0" horizontalAlignment="left" class="filter-label" checked="{{ yourObservable }}" text="My check Box" id="myCheckbox"/></Android>

All options for iOS are available here. It's tested on latest iOS and Xcode.
https://cocoapods.org/pods/BEMCheckBox#customization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants