diff options
author | Tor Arne Vestbø <[email protected]> | 2024-12-14 14:00:18 +0100 |
---|---|---|
committer | Tor Arne Vestbø <[email protected]> | 2024-12-18 20:37:33 +0100 |
commit | 0234ec9ef17bb4ffccde993d194baed6efae3f63 (patch) | |
tree | 431c8a22758b80466f8157460100cfee7c30fbf6 /src/quickcontrols/macos/MenuBar.qml | |
parent | ae7a573fe9d74f8d8355ca95f66ba160fa176270 (diff) |
Reflect Container.content{Width,Height} through implicitContent{Width,Height}
When a Container does not have an explicit content size set, we pick up
the content size from the implicit content size, so the two are in sync.
However, if an explicit content size is set, we were failing to reflect
this through the control's implicit content size, which means that any
client of Container can not treat it as a plain Control, reading its
implicit content size to do layouting.
We now keep the two values in sync, even when an explicit content size
has been set.
Pick-to: 6.9
Change-Id: If1253a1de804d99232b6c78ec9eae88f3937efe0
Reviewed-by: Mitch Curtis <[email protected]>
Diffstat (limited to 'src/quickcontrols/macos/MenuBar.qml')
0 files changed, 0 insertions, 0 deletions