diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2020-11-22 20:45:37 +0100 |
---|---|---|
committer | Pratyush Yadav <me@yadavpratyush.com> | 2020-12-18 00:30:37 +0530 |
commit | f9481b195b867dbdeead70d988e2e00d438d6f52 (patch) | |
tree | 0b6c1c964db6338ce9a6f5b35b2e39ad9afceb8c /lib/merge.tcl | |
parent | Merge branch 'da/askpass-mask-checkbox' (diff) | |
download | tgif-f9481b195b867dbdeead70d988e2e00d438d6f52.tar.xz |
git-gui: fix colored label backgrounds when using themed widgets
The aqua theme on Mac doesn't support changing the background color for labels
and frames [1]. Since the red, green, and yellow backgrounds of the labels for
unstaged and staged files and the diff pane are so important design elements of
git gui's main window, it's not acceptable for them to have grey backgrounds on
Mac.
To work around this, simply use non-themed widgets for all labels on Mac. This
is not a big problem because labels don't look extremely different between the
themed and non-themed versions. There are subtle differences, but they are not
as bad as having the wrong background color.
[1] https://stackoverflow.com/a/6723911
Signed-off-by: Stefan Haller <stefan@haller-berlin.de>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
Diffstat (limited to 'lib/merge.tcl')
0 files changed, 0 insertions, 0 deletions