Skip to content

Commit 379f84b

Browse files
marcowsspearce
authored andcommitted
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 <[email protected]> Signed-off-by: Shawn O. Pearce <[email protected]>
1 parent 764369c commit 379f84b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/choose_repository.tcl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,8 @@ method _do_new {} {
398398
grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew
399399
pack $w_body.where -fill x
400400

401+
grid columnconfigure $w_body.where 1 -weight 1
402+
401403
trace add variable @local_path write [cb _write_local_path]
402404
bind $w_body.h <Destroy> [list trace remove variable @local_path write [cb _write_local_path]]
403405
update
@@ -998,6 +1000,8 @@ method _do_open {} {
9981000
grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew
9991001
pack $w_body.where -fill x
10001002

1003+
grid columnconfigure $w_body.where 1 -weight 1
1004+
10011005
trace add variable @local_path write [cb _write_local_path]
10021006
bind $w_body.h <Destroy> [list trace remove variable @local_path write [cb _write_local_path]]
10031007
update

0 commit comments

Comments
 (0)