-
Notifications
You must be signed in to change notification settings - Fork 56
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
Checkbox alignment problem on IOS #123
Comments
@NeriCodec You can replace the checkbox with the standard nativescript switch component
|
@MateusSpadari this isn't a solution to the styling problem.... Anyone has a solution? this is still an issue... |
@mm-spiio yes, check this.
|
I half fixed mine using height=20 on iOS and adding a label inside a horizontal StackLayout to avoid the tap action, or add it if necessary, right now I'm trying to use this as a new directive so I do not have to do this all the time, on android I create a set of margins, looks like working |
https://github.com/nstudio/nativescript-plugins/tree/main/packages/nativescript-checkbox try this one out I'm using this on iOS and it looks pretty good <CheckBox
height="25"
verticalAlignment="center"
fillColor="#002160"
[id]="f.title + '-switch'"
[text]="f.title"
[checked]="f.isSelected"
(checkedChange)="onFilterCheckChange($event, f)"
padding="2"
></CheckBox> |
The fill color is "floating" outside the checkbox boundaries ! On android it works normally. I don't know what to do to solve this layout problem. Thanks !!!
(I tested on IOS 12.2 and 13.1)
The text was updated successfully, but these errors were encountered: