Skip to content

Commit 6bc9d1e

Browse files
mark987paulusmack
authored andcommitted
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 <[email protected]>
1 parent 706d6c3 commit 6bc9d1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6972,7 +6972,7 @@ proc doprefs {} {
69726972
pack $top.ntag.b $top.ntag.l -side left
69736973
grid x $top.ntag -sticky w
69746974
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
69766976
grid x $top.tabstopl $top.tabstop -sticky w
69776977

69786978
label $top.cdisp -text "Colors: press to choose"

0 commit comments

Comments
 (0)