File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 4
4
<NavigationButton text =" Back" android.systemIcon =" ic_menu_back" @tap =" onNavigationButtonTap" ></NavigationButton >
5
5
</ActionBar >
6
6
<ScrollView >
7
- <GridLayout width = " 50 " height =" 100 " backgroundColor =" red" @tap =" resize" >
7
+ <GridLayout columns = " auto " horizontalAlignment = " center " height =" 200 " backgroundColor =" red" @tap =" resize" >
8
8
9
- <HTMLLabel width =" 100%"
10
- height =" 50"
9
+ <HTMLLabel
10
+ verticalAlignment =" center"
11
+ width =" 50"
12
+ :textWrap =" true"
11
13
:autoFontSize =" true"
12
- :html =" 'center textAlignment, bottom verticalAlignment'"
13
- minFontSize =" 10"
14
- lineBreak =" end"
14
+ text =" center textAlignment, bottom verticalAlignment"
15
+ fontSize =" 10"
15
16
maxFontSize =" 30" />
16
17
17
18
</GridLayout >
Original file line number Diff line number Diff line change 2
2
"description" : " NativeScript HTML Label Demo for Vue" ,
3
3
"license" : " SEE LICENSE IN LICENSE.md" ,
4
4
"readme" : " README.md" ,
5
+ "main" :" app/main" ,
5
6
"dependencies" : {
6
7
"@nativescript-community/text" : " 1.4.8" ,
7
8
"@nativescript-community/ui-label" : " ../plugin" ,
You can’t perform that action at this time.
0 commit comments