@matheusbsbs / matheus-bagliano / commits / 6bc9d1e2e7
Fork 0

gitk: Use a spinbox for setting tabstop settings

The tabstop must be a smallish positive integer, and a spinbox is the accepted UI control to accomplish this limiting rather than the text entry box previously used. Signed-off-by: Mark Levedahl <mdl123@verizon.net>

Mark Levedahl committed Jun 26, 2007 at 21:51 UTC 6bc9d1e2e75a68a6027d1f78a95c9ddbbe1d1dfd
1 file changed +1 -1
gitk
+1 -1
@@ -6972,7 +6972,7 @@ proc doprefs {} {
6972 pack $top.ntag.b $top.ntag.l -side left
6973 grid x $top.ntag -sticky w
6974 label $top.tabstopl -text "tabstop" -font optionfont
6975 - entry $top.tabstop -width 10 -textvariable tabstop
6975 + spinbox $top.tabstop -from 1 -to 20 -width 4 -textvariable tabstop
6976 grid x $top.tabstopl $top.tabstop -sticky w
6977
6978 label $top.cdisp -text "Colors: press to choose"