export correct Layout.minimumWidth
recalculate size when text on a tab changes BUG:342964 Change-Id: I7fd17557e92de29a7d1b1e897caf17e60bfe101e
This commit is contained in:
parent
ecbd619566
commit
dd46de10ec
@ -84,6 +84,9 @@ FocusScope {
|
|||||||
implicitWidth: layout.implicitWidth
|
implicitWidth: layout.implicitWidth
|
||||||
implicitHeight: layout.implicitHeight
|
implicitHeight: layout.implicitHeight
|
||||||
|
|
||||||
|
Layout.minimumWidth: tabBarLayout.minimumWidth
|
||||||
|
Layout.minimumHeight: tabBarLayout.minimumHeight
|
||||||
|
|
||||||
Accessible.role: Accessible.PageTabList
|
Accessible.role: Accessible.PageTabList
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
@ -114,6 +114,7 @@ Item {
|
|||||||
internal.tabBar.currentTab = root
|
internal.tabBar.currentTab = root
|
||||||
}
|
}
|
||||||
onVisibleChanged: root.parent.childrenChanged()
|
onVisibleChanged: root.parent.childrenChanged()
|
||||||
|
onTextChanged: root.parent.childrenChanged()
|
||||||
}
|
}
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
|
Loading…
Reference in New Issue
Block a user