gitk: small quality of life improvements for themed Tk
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | gitk: fix text wrapping preferences for unthemed tkgitk-git/ | +2 | 0 replies | |
| 2/3 | gitk: do not set fg/bg color scheme for themed Tkgitk-git/ | +6 | 0 replies | |
| 3/3 | gitk: on themed tk, use uicolor to draw a sash between panesgitk-git/ | +45 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] gitk: small quality of life improvements for themed Tk
These three closely related patches build on
https://lore.kernel.org/git/[email protected]
to:
1. also allow changing text wrapping preferences for users that do not use themed Tk (that is, users that have turned the "use themed widgets" preference off);
2. no longer change the background color when using themed Tk (the default) as - at least on the platforms I tried - most widgets and the main window do not change their background color anyhow, whereas some widgets do, leading to a messy looking UI where different widgets seemingly assume different background colors; and
3. use the now-available uicolor preference to draw a "sash" (grab handle) between the many panes of the main window when using themed Tk; on the platforms I tried, themed Tk was both the default and it was not rendering any sash, thus requiring users to guess where to click to resize window panes. Manually setting uicolor to a platform-dependent color (see https://www.tcl-lang.org/man/tcl/TkCmd/colors.htm#M4) in the config file works to get sashes that automatically adapt to light mode and dark mode.
Christoph Sommer (3):
gitk: fix text wrapping preferences for unthemed tk
gitk: do not set fg/bg color scheme for themed Tk
gitk: on themed tk, use uicolor to draw a sash between panes
gitk-git/gitk | 60 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 53 insertions(+), 7 deletions(-)
base-commit: f65182a99e545d2f2bc22e6c1c2da192133b16a3
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1909%2Fsommer%2Fmaster-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1909/sommer/master-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1909
Signature · 1 line
gitgitgadget