--warning
Don't warn when there's no tabs visible
This commit is contained in:
parent
b84fbb01f7
commit
918dc221e2
@ -17,8 +17,8 @@ T.TabBar {
|
|||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
contentItem: ListView {
|
contentItem: ListView {
|
||||||
implicitWidth: control.contentModel.get(0).implicitWidth * count
|
implicitWidth: control.contentModel.count === 0 ? 0 : control.contentModel.get(0).implicitWidth * count
|
||||||
implicitHeight: control.contentModel.get(0).height
|
implicitHeight: control.contentModel.count === 0 ? 0 : control.contentModel.get(0).height
|
||||||
|
|
||||||
model: control.contentModel
|
model: control.contentModel
|
||||||
currentIndex: control.currentIndex
|
currentIndex: control.currentIndex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user