From: Shawn O. Pearce Date: Sun, 21 Jan 2007 08:13:13 +0000 (-0500) Subject: git-gui: Use borders on text fields in branch dialog. X-Git-Tag: gitgui-0.6.0~107 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62efea111fe6935c5916f3537fb135bdab324264;p=git.git git-gui: Use borders on text fields in branch dialog. On Mac OS X wish does not draw borders around text fields, making the field look like its not even there until the user focuses into it. I don't know the Mac OS X UI standards very well, but that just seems wrong. Other applications (e.g. Terminal.app) show their input boxes with a sunken relief, so we should do the same. Signed-off-by: Shawn O. Pearce --- diff --git a/git-gui.sh b/git-gui.sh index c187e9bbc..26b1f346f 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -1753,6 +1753,8 @@ proc do_create_branch {} { -font font_ui label $w.name.l -text {Name:} -font font_ui text $w.name.t \ + -borderwidth 1 \ + -relief sunken \ -height 1 \ -width 40 \ -font font_ui @@ -1812,6 +1814,8 @@ proc do_create_branch {} { -variable create_branch_revtype \ -font font_ui text $w.from.exp.t \ + -borderwidth 1 \ + -relief sunken \ -height 1 \ -width 50 \ -font font_ui