@@ -134,19 +134,19 @@ export class CheckBox extends View implements CheckBoxInterface {
134
134
this . _android = new android . widget . CheckBox ( this . _context , null ) ;
135
135
136
136
if ( this . checkPaddingLeft ) {
137
- this . _android . setPadding ( this . checkPaddingLeft , this . _android . getPaddingTop ( ) , this . _android . getPaddingRight ( ) , this . _android . getPaddingBottom ( ) ) ;
137
+ this . _android . setPadding ( parseInt ( this . checkPaddingLeft ) , this . _android . getPaddingTop ( ) , this . _android . getPaddingRight ( ) , this . _android . getPaddingBottom ( ) ) ;
138
138
}
139
139
140
140
if ( this . checkPaddingTop ) {
141
- this . _android . setPadding ( this . _android . getPaddingLeft ( ) , this . checkPaddingTop , this . _android . getPaddingRight ( ) , this . _android . getPaddingBottom ( ) ) ;
141
+ this . _android . setPadding ( this . _android . getPaddingLeft ( ) , parseInt ( this . checkPaddingTop ) , this . _android . getPaddingRight ( ) , this . _android . getPaddingBottom ( ) ) ;
142
142
}
143
143
144
144
if ( this . checkPaddingRight ) {
145
- this . _android . setPadding ( this . _android . getPaddingLeft ( ) , this . _android . getPaddingTop ( ) , this . checkPaddingRight , this . _android . getPaddingBottom ( ) ) ;
145
+ this . _android . setPadding ( this . _android . getPaddingLeft ( ) , this . _android . getPaddingTop ( ) , parseInt ( this . checkPaddingRight ) , this . _android . getPaddingBottom ( ) ) ;
146
146
}
147
147
148
148
if ( this . checkPaddingBottom ) {
149
- this . _android . setPadding ( this . _android . getPaddingLeft ( ) , this . _android . getPaddingTop ( ) , this . _android . getPaddingRight ( ) , this . checkPaddingBottom ) ;
149
+ this . _android . setPadding ( this . _android . getPaddingLeft ( ) , this . _android . getPaddingTop ( ) , this . _android . getPaddingRight ( ) , parseInt ( this . checkPaddingBottom ) ) ;
150
150
}
151
151
152
152
if ( this . checkPadding ) {
0 commit comments