summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f83aa2)
raw | patch | inline | side by side (parent: 7f83aa2)
author | Twiinz <twiinz@gmail.com> | |
Mon, 19 May 2008 04:01:58 +0000 (00:01 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 27 May 2008 01:05:20 +0000 (21:05 -0400) |
In git-gui after clicking either on 'Create New Repository' or
'Open Existing Repository' the form elements aren't centered like
they are pretty much everywhere else in the app. At least when ran
on a mac, haven't checked on other platforms.
Using grid instead of pack seems to fix this.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
'Open Existing Repository' the form elements aren't centered like
they are pretty much everywhere else in the app. At least when ran
on a mac, haven't checked on other platforms.
Using grid instead of pack seems to fix this.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/choose_repository.tcl | patch | blob | history |
index ae4a4cd0a883df272f405d4998da8ab3044109d4..318078615862adab052d0d0f637f82176a0a785a 100644 (file)
-command [cb _new_local_path]
set w_localpath $w_body.where.t
- pack $w_body.where.b -side right
- pack $w_body.where.l -side left
- pack $w_body.where.t -fill x
+ grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew
pack $w_body.where -fill x
trace add variable @local_path write [cb _write_local_path]
-text [mc "Browse"] \
-command [cb _open_local_path]
- pack $w_body.where.b -side right
- pack $w_body.where.l -side left
- pack $w_body.where.t -fill x
+ grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew
pack $w_body.where -fill x
trace add variable @local_path write [cb _write_local_path]