git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitk: Add horizontal scrollbar to the diff view

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 6, 2008, 06:18 UTC
Message-ID
<7vy78wgyu1.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080305225123.GA8485@localdomain>
Pekka Kaitaniemi <kaitanie@cc.helsinki.fi> writes:
Show 8 quoted lines
> Adding horizontal scroll bar makes the scrolling feature more
> discoverable to the users.
>
> Signed-off-by: Pekka Kaitaniemi <kaitanie@cc.helsinki.fi>
> ---
> Here is a patch that adds horizontal scroll bar to the gitk diff
> pane. It makes the scrolling feature a bit more discoverable and
> accessible. The only downside is that it uses some screen real estate.

An obvious solution is to show the scrollbar on-demand (i.e. when the lines are overlong), but I do not talk Tcl/Tk and do not know if you can do that easily.

Previous: Pekka KaitaniemiNext: Paul Mackerras
Message 2 of 7 in “gitk: Add horizontal scrollbar to the diff view”
  1. gitk: Add horizontal scrollbar to the diff viewPekka Kaitaniemi, Mar 5, 2008
  2. Junio C HamanoMar 6, 2008
  3. Paul MackerrasMar 6, 2008
  4. Pekka KaitaniemiMar 6, 2008
  5. Shawn O. PearceMar 8, 2008
  6. Paul MackerrasMar 8, 2008
  7. Shawn O. PearceMar 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.