{"thread":{"id":"21260","subject":"[PATCH v4] git-gui: adjust the minimum height of diff pane for shorter screen height","startedAt":"2009-10-16T09:41:26Z","lastAt":"2009-10-16T09:41:26Z","messageCount":1,"participants":["Vietor Liu"],"isPatch":true,"patchVersion":4,"patchTotal":null},"messages":[{"id":"125154","messageId":"1255686086-3949-1-git-send-email-vietor@vxwo.org","threadId":"21260","inReplyTo":null,"subject":"[PATCH v4] git-gui: adjust the minimum height of diff pane for shorter screen height","fromName":"Vietor Liu","fromEmail":"vietor@vxwo.org","sentAt":"2009-10-16T09:41:26Z","receivedAt":"2009-10-16T09:41:26Z","isPatch":true,"sender":{"key":"vietor@vxwo.org","avatar":"https://gravatar.com/avatar/5aec20a4fda090db11446ebfef48ef01e702e5cef0710640a676ccbfce1f4fe3?d=mp&s=160"},"body":"When the main window is maximized, if the screen height is shorter (e.g.\nNetbook screen 1024x600), both the partial commit pane and the status bar\nare hidden. The diff pane is resizable, so that it can use less vertical\nheight, allowing the overall window to be shorter and still display both\nthe entire commit pane and status bar.\n\nSigned-off-by: Vietor Liu <vietor@vxwo.org>\n---\n git-gui.sh |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/git-gui.sh b/git-gui.sh\nindex 09b2720..037a1f2 100755\n--- a/git-gui.sh\n+++ b/git-gui.sh\n@@ -3083,7 +3083,7 @@ frame .vpane.lower.diff.body\n set ui_diff .vpane.lower.diff.body.t\n text $ui_diff -background white -foreground black \\\n \t-borderwidth 0 \\\n-\t-width 80 -height 15 -wrap none \\\n+\t-width 80 -height 5 -wrap none \\\n \t-font font_diff \\\n \t-xscrollcommand {.vpane.lower.diff.body.sbx set} \\\n \t-yscrollcommand {.vpane.lower.diff.body.sby set} \\\n-- \n1.6.5\n"}]}