Browse Source

git-gui: Attach font_ui to all spinbox widgets

Earlier I missed making sure our spinbox widgets used the same font
as the other widgets around them.  This meant that using a main font
with a size of 20 would make every widget in the options dialog huge,
but the spinboxes would be left with whatever the OS native font is.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
maint
Shawn O. Pearce 18 years ago
parent
commit
6309172ea5
  1. 2
      git-gui.sh

2
git-gui.sh

@ -1205,7 +1205,7 @@ font create font_diffbold


foreach class {Button Checkbutton Entry Label foreach class {Button Checkbutton Entry Label
Labelframe Listbox Menu Message Labelframe Listbox Menu Message
Radiobutton Text} { Radiobutton Spinbox Text} {
option add *$class.font font_ui option add *$class.font font_ui
} }
unset class unset class

Loading…
Cancel
Save