@matheusbsbs / matheus-bagliano / commits / 1eb96a25c9
Fork 0

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>

Shawn O. Pearce committed Jul 4, 2007 at 14:06 UTC 1eb96a25c9e76b70ca3f335bce7e60d66220eaa9
1 file changed +2 -2
lib/remote_branch_delete.tcl
+2 -2
@@ -98,10 +98,10 @@ constructor dialog {} {
98 button $w.heads.footer.rescan \
99 -text {Rescan} \
100 -command [cb _rescan]
101 - pack $w.heads.footer.status -side left -fill x -expand 1
101 + pack $w.heads.footer.status -side left -fill x
102 pack $w.heads.footer.rescan -side right
103
104 - pack $w.heads.footer -side bottom -fill x -expand 1
104 + pack $w.heads.footer -side bottom -fill x
105 pack $w.heads.sby -side right -fill y
106 pack $w.heads.l -side left -fill both -expand 1
107 pack $w.heads -fill both -expand 1 -pady 5 -padx 5