summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-04 18:06:28 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-07-05 03:16:20 (GMT)
commit1eb96a25c9e76b70ca3f335bce7e60d66220eaa9 (patch)
treed5564efa9f95d26e4a21f8f13e50fce338930974 /lib
parentc1fd897a25d85424a2ee93a8ae2eb247ba7c2558 (diff)
downloadgit-1eb96a25c9e76b70ca3f335bce7e60d66220eaa9.zip
git-1eb96a25c9e76b70ca3f335bce7e60d66220eaa9.tar.gz
git-1eb96a25c9e76b70ca3f335bce7e60d66220eaa9.tar.bz2
git-gui: Correct resizing of remote branch delete dialog
The status field of the remote branch delete dialog was marked to expand, which meant that if the user grew the window vertically most of the new vertical height was given to the status field and not to the branch list. Since the status field is just a single line of text there is no reason for it to gain additional height, instead we should make sure all additional height goes to the branch list. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/remote_branch_delete.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/remote_branch_delete.tcl b/lib/remote_branch_delete.tcl
index b83e1b6..d7e2b8d 100644
--- a/lib/remote_branch_delete.tcl
+++ b/lib/remote_branch_delete.tcl
@@ -98,10 +98,10 @@ constructor dialog {} {
button $w.heads.footer.rescan \
-text {Rescan} \
-command [cb _rescan]
- pack $w.heads.footer.status -side left -fill x -expand 1
+ pack $w.heads.footer.status -side left -fill x
pack $w.heads.footer.rescan -side right
- pack $w.heads.footer -side bottom -fill x -expand 1
+ pack $w.heads.footer -side bottom -fill x
pack $w.heads.sby -side right -fill y
pack $w.heads.l -side left -fill both -expand 1
pack $w.heads -fill both -expand 1 -pady 5 -padx 5