Showing
1 changed file
with
3 additions
and
2 deletions
| @@ -51,9 +51,10 @@ export struct DetailDialog { | @@ -51,9 +51,10 @@ export struct DetailDialog { | ||
| 51 | .margin({ top: 8, bottom: 8 }) | 51 | .margin({ top: 8, bottom: 8 }) |
| 52 | } | 52 | } |
| 53 | .alignItems(HorizontalAlign.Start) | 53 | .alignItems(HorizontalAlign.Start) |
| 54 | - .margin({right:4}) | 54 | + //.margin({right:4}) |
| 55 | 55 | ||
| 56 | } | 56 | } |
| 57 | + .scrollBar(BarState.Off) //安卓不显示滚动条 | ||
| 57 | .height(200) | 58 | .height(200) |
| 58 | 59 | ||
| 59 | Row() { | 60 | Row() { |
| @@ -80,7 +81,7 @@ export struct DetailDialog { | @@ -80,7 +81,7 @@ export struct DetailDialog { | ||
| 80 | top: 20, | 81 | top: 20, |
| 81 | bottom: 30, | 82 | bottom: 30, |
| 82 | left: 16, | 83 | left: 16, |
| 83 | - right: 12 //给滚动条预留4像素 | 84 | + right: 16 //给滚动条预留4像素 |
| 84 | }) | 85 | }) |
| 85 | 86 | ||
| 86 | } | 87 | } |
-
Please register or login to post a comment