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

[PATCH v3] git-gui: adjust the minimum height of diff pane for shorter screen height

From
Vietor Liu <vietor@vxwo.org>
Date
Oct 15, 2009, 05:05 UTC
Message-ID
<1255583127-14893-1-git-send-email-vietor@vxwo.org>

When the screen height is shorter (e.g. Netbook screen 1024x600), both the partial commit pane and the status bar will hide. This patch adjust the minimum height of the diff pane, allowing the overall window to be shorter and still display both the entire commit pane and status bar.

Signed-off-by: Vietor Liu <vietor@vxwo.org>
---
 git-gui.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-gui.sh b/git-gui.sh
index 09b2720..037a1f2 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -3083,7 +3083,7 @@ frame .vpane.lower.diff.body
 set ui_diff .vpane.lower.diff.body.t
 text $ui_diff -background white -foreground black \
 	-borderwidth 0 \
-	-width 80 -height 15 -wrap none \
+	-width 80 -height 5 -wrap none \
 	-font font_diff \
 	-xscrollcommand {.vpane.lower.diff.body.sbx set} \
 	-yscrollcommand {.vpane.lower.diff.body.sby set} \
-- 
1.6.5
Next: Junio C Hamano
Message 1 of 2 in “git-gui: adjust the minimum height of diff pane for shorter screen height”
  1. git-gui: adjust the minimum height of diff pane for shorter screen heightVietor Liu, Oct 15, 2009
  2. Junio C HamanoOct 15, 2009

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.