diff options
| author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2025-12-17 14:46:15 +0100 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2025-12-22 17:02:04 +0000 |
| commit | db9dcd1f1931f46b4a44ca425c4e16853ba02182 (patch) | |
| tree | c4c0238c9b7d11ee0f4d5dddeb72719ce4e01a16 /src/quickcontrols/basic/qtquickcontrols2basicforeign.cpp | |
| parent | f5b5ba7d50897d41bf3ca14f41a0e990133febf3 (diff) | |
macOS: adjust the button margins to ensure the title is centered
The title (content) margins for a button had different margins
at the top compared to the bottom. The result was that the
label didn't end up centered on the button on macOS 26.
This patch will adjust the button title margins so that the
button label ends up centered on macOS 26. It will also
slighly adjust the margins on macOS16.4, and earlier, to make
label (more) centered on those platforms as well.
Pick-to: 6.8 6.5
Change-Id: Icd7571202add65ec312787b0aa94fd1bc49ef72a
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
(cherry picked from commit a89bad645801060d54c3d7e60224b09652b4b0a6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 8bb39ac2a5c92c4a32ab3b405c4c4f00c5033b35)
Diffstat (limited to 'src/quickcontrols/basic/qtquickcontrols2basicforeign.cpp')
0 files changed, 0 insertions, 0 deletions
