@@ -332,30 +332,30 @@ export class TextField extends TextFieldBase {
332332 this . nativeTextViewProtected . setTypeface ( value instanceof Font ? value . getAndroidTypeface ( ) : value ) ;
333333 }
334334 }
335- [ paddingTopProperty . setNative ] ( value : CoreTypes . LengthType ) {
336- org . nativescript . widgets . ViewHelper . setPaddingTop (
337- this . nativeTextViewProtected ,
338- Utils . layout . toDeviceIndependentPixels ( Length . toDevicePixels ( value , 0 ) + Length . toDevicePixels ( this . style . borderTopWidth , 0 ) )
339- ) ;
340- }
341- [ paddingRightProperty . setNative ] ( value : CoreTypes . LengthType ) {
342- org . nativescript . widgets . ViewHelper . setPaddingRight (
343- this . nativeTextViewProtected ,
344- Utils . layout . toDeviceIndependentPixels ( Length . toDevicePixels ( value , 0 ) + Length . toDevicePixels ( this . style . borderRightWidth , 0 ) )
345- ) ;
346- }
347- [ paddingBottomProperty . setNative ] ( value : CoreTypes . LengthType ) {
348- org . nativescript . widgets . ViewHelper . setPaddingBottom (
349- this . nativeTextViewProtected ,
350- Utils . layout . toDeviceIndependentPixels ( Length . toDevicePixels ( value , 0 ) + Length . toDevicePixels ( this . style . borderBottomWidth , 0 ) )
351- ) ;
352- }
353- [ paddingLeftProperty . setNative ] ( value : CoreTypes . LengthType ) {
354- org . nativescript . widgets . ViewHelper . setPaddingLeft (
355- this . nativeTextViewProtected ,
356- Utils . layout . toDeviceIndependentPixels ( Length . toDevicePixels ( value , 0 ) + Length . toDevicePixels ( this . style . borderLeftWidth , 0 ) )
357- ) ;
358- }
335+ // [paddingTopProperty.setNative](value: CoreTypes.LengthType) {
336+ // org.nativescript.widgets.ViewHelper.setPaddingTop(
337+ // this.nativeTextViewProtected,
338+ // Utils.layout.toDeviceIndependentPixels(Length.toDevicePixels(value, 0) + Length.toDevicePixels(this.style.borderTopWidth, 0))
339+ // );
340+ // }
341+ // [paddingRightProperty.setNative](value: CoreTypes.LengthType) {
342+ // org.nativescript.widgets.ViewHelper.setPaddingRight(
343+ // this.nativeTextViewProtected,
344+ // Utils.layout.toDeviceIndependentPixels(Length.toDevicePixels(value, 0) + Length.toDevicePixels(this.style.borderRightWidth, 0))
345+ // );
346+ // }
347+ // [paddingBottomProperty.setNative](value: CoreTypes.LengthType) {
348+ // org.nativescript.widgets.ViewHelper.setPaddingBottom(
349+ // this.nativeTextViewProtected,
350+ // Utils.layout.toDeviceIndependentPixels(Length.toDevicePixels(value, 0) + Length.toDevicePixels(this.style.borderBottomWidth, 0))
351+ // );
352+ // }
353+ // [paddingLeftProperty.setNative](value: CoreTypes.LengthType) {
354+ // org.nativescript.widgets.ViewHelper.setPaddingLeft(
355+ // this.nativeTextViewProtected,
356+ // Utils.layout.toDeviceIndependentPixels(Length.toDevicePixels(value, 0) + Length.toDevicePixels(this.style.borderLeftWidth, 0))
357+ // );
358+ // }
359359 [ textAlignmentProperty . setNative ] ( value : CoreTypes . TextAlignmentType ) {
360360 this . nativeTextViewProtected . setGravity ( getHorizontalGravity ( value ) | getVerticalGravity ( this . verticalTextAlignment ) ) ;
361361 }
0 commit comments