Showing
1 changed file
with
4 additions
and
1 deletions
| @@ -11,6 +11,7 @@ export struct TabInfoComponent { | @@ -11,6 +11,7 @@ export struct TabInfoComponent { | ||
| 11 | } | 11 | } |
| 12 | 12 | ||
| 13 | build() { | 13 | build() { |
| 14 | + Scroll(){ | ||
| 14 | Column() { | 15 | Column() { |
| 15 | this.showLiveTitle() | 16 | this.showLiveTitle() |
| 16 | this.showLiveDetails() | 17 | this.showLiveDetails() |
| @@ -20,8 +21,10 @@ export struct TabInfoComponent { | @@ -20,8 +21,10 @@ export struct TabInfoComponent { | ||
| 20 | left: 16, | 21 | left: 16, |
| 21 | right: 16 | 22 | right: 16 |
| 22 | }) | 23 | }) |
| 23 | - .height('100%') | ||
| 24 | .alignItems(HorizontalAlign.Start) | 24 | .alignItems(HorizontalAlign.Start) |
| 25 | + }.layoutWeight(1) | ||
| 26 | + .width("100%") | ||
| 27 | + .scrollBar(BarState.Off) | ||
| 25 | } | 28 | } |
| 26 | 29 | ||
| 27 | aboutToDisappear(): void { | 30 | aboutToDisappear(): void { |
-
Please register or login to post a comment