1
0
mirror of https://github.com/git/git.git synced 2024-11-18 19:13:58 +01:00

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>
This commit is contained in:
Shawn O. Pearce 2007-01-21 03:13:13 -05:00
parent 859d8057bd
commit 62efea111f

@ -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