Code

git-gui: use full dialog width for old name when renaming branch
authorPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 7 Oct 2010 22:00:33 +0000 (23:00 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 7 Oct 2010 22:00:33 +0000 (23:00 +0100)
Let the combobox/option menu expand to fill the width of the dialog.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
lib/branch_rename.tcl

index 63988773ba0d02af3dc91474b4a1669ecda27c5c..6e510ec2e39305e6d89de61ab2c925bcbc821a65 100644 (file)
@@ -53,7 +53,7 @@ constructor dialog {} {
                        return 1
                }
 
-       grid $w.rename.oldname_l $w.rename.oldname_m -sticky w  -padx {0 5}
+       grid $w.rename.oldname_l $w.rename.oldname_m -sticky we -padx {0 5}
        grid $w.rename.newname_l $w.rename.newname_t -sticky we -padx {0 5}
        grid columnconfigure $w.rename 1 -weight 1
        pack $w.rename -anchor nw -fill x -pady 5 -padx 5