fix(window-title): use named property instead of read-only implicitWidth
This commit is contained in:
parent
d9101c2415
commit
ce14a170a5
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ M.BarSection {
|
|||
readonly property real _iconOffset: _icon.visible ? _icon.width + root.spacing : 0
|
||||
|
||||
// Natural content width — Bar.qml uses this to cap the group width
|
||||
implicitWidth: _iconOffset + _label.implicitWidth
|
||||
readonly property real naturalWidth: _iconOffset + _label.implicitWidth
|
||||
|
||||
IconImage {
|
||||
id: _icon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue