给Tabs增加.scrollable(false)禁止鼠标滑动切换
This commit is contained in:
parent
d748961030
commit
acb34c3b4d
@ -69,7 +69,8 @@ export struct ModelViewTab {
|
|||||||
bottom: 2,
|
bottom: 2,
|
||||||
right: 0
|
right: 0
|
||||||
})
|
})
|
||||||
}.barHeight(0)
|
}.scrollable(false)
|
||||||
|
.barHeight(0)
|
||||||
.margin({
|
.margin({
|
||||||
top: 0,
|
top: 0,
|
||||||
left: 0,
|
left: 0,
|
||||||
|
|||||||
@ -141,7 +141,8 @@ export struct TitleTab {
|
|||||||
.padding(1)
|
.padding(1)
|
||||||
.margin({ top: 0,left:0,bottom:2,right:0})
|
.margin({ top: 0,left:0,bottom:2,right:0})
|
||||||
})
|
})
|
||||||
}.barHeight(0)
|
}.scrollable(false)
|
||||||
|
.barHeight(0)
|
||||||
.margin({ top: 0,left:0,bottom:0,right:0})
|
.margin({ top: 0,left:0,bottom:0,right:0})
|
||||||
.height('auto')
|
.height('auto')
|
||||||
.barMode(BarMode.Fixed)
|
.barMode(BarMode.Fixed)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user