@matheusbsbs / matheus-bagliano / commits / 62efea111f
Fork 0

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 <spearce@spearce.org>

Shawn O. Pearce committed Jan 21, 2007 at 03:13 UTC 62efea111fe6935c5916f3537fb135bdab324264
1 file changed +4
git-gui.sh
+4
@@ -1753,6 +1753,8 @@ proc do_create_branch {} {
1753 -font font_ui
1754 label $w.name.l -text {Name:} -font font_ui
1755 text $w.name.t \
1756 + -borderwidth 1 \
1757 + -relief sunken \
1758 -height 1 \
1759 -width 40 \
1760 -font font_ui
@@ -1812,6 +1814,8 @@ proc do_create_branch {} {
1814 -variable create_branch_revtype \
1815 -font font_ui
1816 text $w.from.exp.t \
1817 + -borderwidth 1 \
1818 + -relief sunken \
1819 -height 1 \
1820 -width 50 \
1821 -font font_ui