From: Markus Heidelberg Date: Fri, 13 Mar 2009 23:42:37 +0000 (+0100) Subject: git-gui: don't hide the Browse button when resizing the repo chooser X-Git-Tag: v1.6.3-rc4~1^2~13^2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=379f84b8d19b5412aff5b9d6bd7bb1ada37b9353;p=git.git git-gui: don't hide the Browse button when resizing the repo chooser Rather shrink the input field for "Create New Repository" and "Open Existing Repository" as it's already done for "Clone Existing Repository". Signed-off-by: Markus Heidelberg Signed-off-by: Shawn O. Pearce --- diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl index f9ff62a3b..09277e9fa 100644 --- a/lib/choose_repository.tcl +++ b/lib/choose_repository.tcl @@ -398,6 +398,8 @@ method _do_new {} { grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew pack $w_body.where -fill x + grid columnconfigure $w_body.where 1 -weight 1 + trace add variable @local_path write [cb _write_local_path] bind $w_body.h [list trace remove variable @local_path write [cb _write_local_path]] update @@ -998,6 +1000,8 @@ method _do_open {} { grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew pack $w_body.where -fill x + grid columnconfigure $w_body.where 1 -weight 1 + trace add variable @local_path write [cb _write_local_path] bind $w_body.h [list trace remove variable @local_path write [cb _write_local_path]] update