@@ -34,22 +34,17 @@ import {
34
34
} from '@nativescript/core/ui/styling/style-properties' ;
35
35
import {
36
36
letterSpacingProperty ,
37
+ lineHeightProperty ,
37
38
textAlignmentProperty ,
38
39
textDecorationProperty ,
39
40
textTransformProperty ,
40
41
whiteSpaceProperty
41
42
} from '@nativescript/core/ui/text-base' ;
42
- import { lineHeightProperty } from '@nativescript/core/ui/text-base/text-base-common' ;
43
- import { layout } from '@nativescript/core/utils/utils' ;
44
- import { Label as LabelViewDefinition , LineBreak , TextShadow } from './label' ;
45
- import {
46
- autoFontSizeProperty ,
47
- lineBreakProperty ,
48
- maxLinesProperty ,
49
- selectableProperty ,
50
- textShadowProperty
51
- } from './label-common' ;
43
+ import { maxLinesProperty } from '@nativescript/core/ui/text-base/text-base-common' ;
52
44
import lazy from '@nativescript/core/utils/lazy' ;
45
+ import { layout } from '@nativescript/core/utils/utils' ;
46
+ import { Label as LabelViewDefinition , LineBreak } from './label' ;
47
+ import { autoFontSizeProperty , lineBreakProperty , selectableProperty , textShadowProperty } from './label-common' ;
53
48
54
49
export { createNativeAttributedString , enableIOSDTCoreText } from '@nativescript-community/text' ;
55
50
export * from './label-common' ;
@@ -195,6 +190,8 @@ abstract class LabelBase extends View implements LabelViewDefinition {
195
190
public html : string ;
196
191
@cssProperty selectable : boolean ;
197
192
193
+ _isSingleLine : boolean ;
194
+
198
195
public mIsSingleLine : boolean ;
199
196
200
197
public text : string ;
@@ -217,6 +214,8 @@ abstract class LabelBase extends View implements LabelViewDefinition {
217
214
@cssProperty lineBreak : LineBreak ;
218
215
@cssProperty textAlignment : CoreTypes . TextAlignmentType ;
219
216
@cssProperty textDecoration : CoreTypes . TextDecorationType ;
217
+
218
+ //@ts -ignore
220
219
@cssProperty textTransform : CoreTypes . TextTransformType ;
221
220
@cssProperty whiteSpace : CoreTypes . WhiteSpaceType ;
222
221
0 commit comments