summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2025-07-25 13:55:05 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2025-08-29 11:48:21 +0200
commit75cd031c208b257fc42e58069ae23470f11f132d (patch)
tree519d3b7fad82ebd279e25924cc78e9ac6ee4908a /src/widgets/doc/snippets
parent6fdfbb5163fffedcd29d6d2ca843cad5e4ae12de (diff)
QMacStyle: tweak pushbutton's bezel geometry
In macOS Tahoe the bezel is clipped on left/right sides and this makes push button look square. In previous versions of the macOS button bezel was rendered by the AppKit smaller than the rectangle we want to draw it with, and we worked this problem around by adjusting the rectangle, shifting it to the left and adding to its width (and the resulting bezel thus was fitting within the clip rectangle). In macOS Tahoe these adjustments not needed anymore - the button's bezel is rendered exactly within the rectangle we ask to draw with (and this also means within the clipping rectangle). Pick-to: 6.10 6.9 6.8 6.5 Task-number: QTBUG-138699 Change-Id: I7f203808c24276c5ee982b7e412108681bc57733 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets')
0 files changed, 0 insertions, 0 deletions