From 62efea111fe6935c5916f3537fb135bdab324264 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Sun, 21 Jan 2007 03:13:13 -0500 Subject: [PATCH] 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 --- git-gui.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/git-gui.sh b/git-gui.sh index c187e9bbc2..26b1f346fc 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 -- 2.43.2