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

Re: [PATCH] git-gui: right half window is paned

From
Pat Thoyts <patthoyts@users.sourceforge.net>
Date
Aug 27, 2013, 09:32 UTC
Message-ID
<878uznqy0v.fsf@fox.patthoyts.tk>
In-Reply-To
<20130821033822.GB6156@wheezy.local>
Max Kirillov <max@max630.net> writes:
Show 37 quoted lines
>For long descriptions it would be nice to be able to resize
>the comment text field.
>
>Signed-off-by: Max Kirillov <max@max630.net>
>---
> git-gui/git-gui.sh | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
>
>diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
>index 89f636f..e2e710e 100755
>--- a/git-gui/git-gui.sh
>+++ b/git-gui/git-gui.sh
>@@ -3196,13 +3196,19 @@ unset i
> 
> # -- Diff and Commit Area
> #
>-${NS}::frame .vpane.lower -height 300 -width 400
>+${NS}::panedwindow .vpane.lower -orient vertical
> ${NS}::frame .vpane.lower.commarea
>-${NS}::frame .vpane.lower.diff -relief sunken -borderwidth 1
>-pack .vpane.lower.diff -fill both -expand 1
>-pack .vpane.lower.commarea -side bottom -fill x
>+${NS}::frame .vpane.lower.diff -relief sunken -borderwidth 1 -height 500
>+.vpane.lower add .vpane.lower.diff
>+.vpane.lower add .vpane.lower.commarea
> .vpane add .vpane.lower
>-if {!$use_ttk} {.vpane paneconfigure .vpane.lower -sticky nsew}
>+if {$use_ttk} {
>+	.vpane.lower pane .vpane.lower.diff -weight 1
>+	.vpane.lower pane .vpane.lower.commarea -weight 0
>+} else {
>+	.vpane.lower paneconfigure .vpane.lower.diff -stretch always
>+	.vpane.lower paneconfigure .vpane.lower.commarea -stretch never
>+}
> 
> # -- Commit Area Buttons
> #
Also fine and applied. Thank you.
-- 
Pat Thoyts                            http://www.patthoyts.tk/
PGP fingerprint 2C 6E 98 07 2C 59 C8 97  10 CE 11 E6 04 E0 B9 DD
Previous: Max KirillovNext: Pat Thoyts
Message 3 of 4 in “Add gui.displayuntracked option”
  1. Add gui.displayuntracked optionMax Kirillov, Aug 21, 2013
  2. git-gui: right half window is panedMax Kirillov, Aug 21, 2013
  3. Pat ThoytsAug 27, 2013
  4. Pat ThoytsAug 27, 2013

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.