Skip to content

Commit c3f68fd

Browse files
committed
adjust tab size
1 parent 732a676 commit c3f68fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entry/src/main/ets/pages/TabSheets.ets

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export struct TabSheets {
2323
.textOverflow({ overflow: TextOverflow.Clip })
2424
.maxLines(1)
2525
.flexShrink(1)
26-
.padding({ right: 10 })
2726
Stack() {
2827
Image($r('app.media.ic_public_cancel_filled'))
2928
.width(STYLE_CONFIGURATION.ICON_SIZE)
@@ -36,6 +35,8 @@ export struct TabSheets {
3635
.hoverEffect(HoverEffect.Highlight)
3736
}
3837
}
38+
.justifyContent(FlexAlign.SpaceBetween)
39+
.width(180)
3940
.flexShrink(1)
4041
.padding({
4142
left: $r('sys.float.ohos_id_elements_margin_horizontal_l'),

0 commit comments

Comments
 (0)