public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH 0/3] gitk: small quality of life improvements for themed Tk
@ 2025-04-28 15:56 Christoph Sommer via GitGitGadget
  2025-04-28 15:56 ` [PATCH 1/3] gitk: fix text wrapping preferences for unthemed tk Christoph Sommer via GitGitGadget
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christoph Sommer via GitGitGadget @ 2025-04-28 15:56 UTC (permalink / raw)
  To: git; +Cc: Johannes Sixt, Christoph Sommer

These three closely related patches build on
https://lore.kernel.org/git/pull.1835.git.1733767737.gitgitgadget@gmail.com
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
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-28 15:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-28 15:56 [PATCH 0/3] gitk: small quality of life improvements for themed Tk Christoph Sommer via GitGitGadget
2025-04-28 15:56 ` [PATCH 1/3] gitk: fix text wrapping preferences for unthemed tk Christoph Sommer via GitGitGadget
2025-04-28 15:56 ` [PATCH 2/3] gitk: do not set fg/bg color scheme for themed Tk Christoph Sommer via GitGitGadget
2025-04-28 15:56 ` [PATCH 3/3] gitk: on themed tk, use uicolor to draw a sash between panes Christoph Sommer via GitGitGadget

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox