File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ struct Index {
5959 TabContent() {
6060 Column() {
6161 NodeContainer(item.view)
62- .id('term-node-' + item.id)
6362 .width('100%')
6463 .height('100%')
6564 }
@@ -70,6 +69,7 @@ struct Index {
7069 .id('tabs')
7170 .scrollable(false)
7271 .barHeight(0)
72+ .layoutWeight(1)
7373 .onChange((index: number) => {
7474 this.focusIndex = index;
7575 })
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ export struct TabSheets {
2626 .width(STYLE_CONFIGURATION.ICON_SIZE)
2727 .aspectRatio(1)
2828 .padding(2)
29+ .borderRadius(4)
2930 .onClick(() => {
3031 this.closeTabAndTerm(item.id)
3132 })
@@ -67,6 +68,7 @@ export struct TabSheets {
6768 .width(STYLE_CONFIGURATION.ICON_SIZE)
6869 .aspectRatio(1)
6970 .padding(2)
71+ .borderRadius(4)
7072 .onClick(() => {
7173 if (this.tabArray.length < 6) {
7274
You can’t perform that action at this time.
0 commit comments