mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
fix tab button width
This commit is contained in:
parent
c3d2bd8293
commit
4f494696d9
2 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ Control.TabBar {
|
|||
|
||||
contentItem: Text {
|
||||
id: tabText
|
||||
width: Math.min(implicitWidth, mainItem.width / mainItem.model.length)
|
||||
width: implicitWidth
|
||||
font {
|
||||
pixelSize: mainItem.pixelSize
|
||||
weight: mainItem.textWeight
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ ColumnLayout {
|
|||
onCurrentIndexChanged: console.log("current index", currentIndex)
|
||||
visible: mainItem.tabbarModel !== undefined
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredWidth: implicitWidth
|
||||
model: mainItem.tabbarModel
|
||||
pixelSize: Typography.h3m.pixelSize
|
||||
textWeight: Typography.h3m.weight
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue