@@ -10,7 +10,7 @@ import {
10
10
helperColorProperty ,
11
11
helperProperty ,
12
12
strokeColorProperty ,
13
- strokeInactiveColorProperty ,
13
+ strokeInactiveColorProperty
14
14
} from '@nativescript-community/ui-material-core/textbase/cssproperties' ;
15
15
import {
16
16
Background ,
@@ -25,7 +25,7 @@ import {
25
25
editableProperty ,
26
26
hintProperty ,
27
27
isAndroid ,
28
- placeholderColorProperty ,
28
+ placeholderColorProperty
29
29
} from '@nativescript/core' ;
30
30
import { resetSymbol , textProperty } from '@nativescript/core/ui/text-base' ;
31
31
import { TextViewBase } from './textview.common' ;
@@ -66,8 +66,8 @@ class TextViewInputControllerUnderlineImpl extends MDCTextInputControllerUnderli
66
66
67
67
return delegate ;
68
68
}
69
- textInsets ( defaultValue ) {
70
- let result = super . textInsets ( defaultValue ) ;
69
+ textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) {
70
+ let result = super . textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) ;
71
71
const owner = this . _owner ? this . _owner . get ( ) : null ;
72
72
if ( owner ) {
73
73
result = owner . _getTextInsetsForBounds ( result ) ;
@@ -85,8 +85,8 @@ class TextViewInputControllerImpl extends MDCTextInputControllerBase {
85
85
86
86
return delegate ;
87
87
}
88
- textInsets ( defaultValue ) {
89
- let result = super . textInsets ( defaultValue ) ;
88
+ textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) {
89
+ let result = super . textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) ;
90
90
const owner = this . _owner ? this . _owner . get ( ) : null ;
91
91
if ( owner ) {
92
92
result = owner . _getTextInsetsForBounds ( result ) ;
@@ -104,8 +104,8 @@ class TextViewInputControllerOutlinedImpl extends MDCTextInputControllerOutlined
104
104
105
105
return delegate ;
106
106
}
107
- textInsets ( defaultValue ) {
108
- let result = super . textInsets ( defaultValue ) ;
107
+ textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) {
108
+ let result = super . textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) ;
109
109
const owner = this . _owner ? this . _owner . get ( ) : null ;
110
110
if ( owner ) {
111
111
result = owner . _getTextInsetsForBounds ( result ) ;
@@ -123,8 +123,8 @@ class TextViewInputControllerFilledImpl extends MDCTextInputControllerFilled {
123
123
124
124
return delegate ;
125
125
}
126
- textInsets ( defaultValue ) {
127
- let result = super . textInsets ( defaultValue ) ;
126
+ textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) {
127
+ let result = super . textInsetsWithSizeThatFitsWidthHint ( defaultValue , widthHint ) ;
128
128
const owner = this . _owner ? this . _owner . get ( ) : null ;
129
129
if ( owner ) {
130
130
result = owner . _getTextInsetsForBounds ( result ) ;
@@ -180,9 +180,11 @@ export class TextView extends TextViewBase {
180
180
}
181
181
182
182
// N bug fix
183
+ // @ts -ignore
183
184
get ios ( ) {
184
185
return this . nativeTextViewProtected ;
185
186
}
187
+ // @ts -ignore
186
188
get nativeTextViewProtected ( ) {
187
189
return this . nativeViewProtected . textView ;
188
190
}
0 commit comments