File tree 7 files changed +7
-7
lines changed
7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ proc ::tk::dialog::error::bgerror {err {flag 1}} {
181
181
pack $dlg .top -side top -fill both -expand 1
182
182
183
183
set W [ttk::frame $dlg .top.info]
184
- text $W .text -setgrid false -height 10 -wrap char \
184
+ text $W .text -setgrid 0 -height 10 -wrap char \
185
185
-yscrollcommand [list $W .scroll set]
186
186
if {$windowingsystem ne " aqua" } {
187
187
$W .text configure -width 40
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ proc ::tk::ConsoleInit {} {
145
145
}
146
146
::ttk::frame .consoleframe -style ConsoleFrame
147
147
148
- set con [text .console -yscrollcommand [list .sb set] -setgrid true \
148
+ set con [text .console -yscrollcommand [list .sb set] -setgrid 1 \
149
149
-borderwidth 0 -highlightthickness 0 -font TkConsoleFont]
150
150
if {[tk windowingsystem] eq " aqua" } {
151
151
scrollbar .sb -command [list $con yview]
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ positionWindow $w
20
20
set btns [addSeeDismiss $w .buttons $w ]
21
21
pack $btns -side bottom -fill x
22
22
23
- text $w .text -yscrollcommand " $w .scroll set" -setgrid true \
23
+ text $w .text -yscrollcommand " $w .scroll set" -setgrid 1 \
24
24
-width 60 -height 24 -font $font -wrap word
25
25
ttk::scrollbar $w .scroll -command " $w .text yview"
26
26
pack $w .scroll -side right -fill y
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ package require tk
15
15
scrollbar .scroll -command " .list yview"
16
16
pack .scroll -side right -fill y
17
17
listbox .list -yscroll " .scroll set" -relief sunken -width 20 -height 20 \
18
- -setgrid yes
18
+ -setgrid 1
19
19
pack .list -side left -fill both -expand yes
20
20
wm minsize . 1 1
21
21
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ menu .menu.file.apps -postcommand fillAppsMenu
42
42
43
43
# Create text window and scrollbar.
44
44
45
- text .t -yscrollcommand " .s set" -setgrid true
45
+ text .t -yscrollcommand " .s set" -setgrid 1
46
46
scrollbar .s -command " .t yview"
47
47
grid .t .s -sticky nsew
48
48
grid rowconfigure . 0 -weight 1
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ pack $w.string.label $w.string.entry -side left
108
108
pack $w .string.button -side left -pady 3p -padx 7.5p
109
109
bind $w .string.entry <Return> " textSearch $w .text \$ searchString search"
110
110
111
- text $w .text -yscrollcommand " $w .scroll set" -setgrid true
111
+ text $w .text -yscrollcommand " $w .scroll set" -setgrid 1
112
112
ttk::scrollbar $w .scroll -command " $w .text yview"
113
113
pack $w .file $w .string -side top -fill x
114
114
pack $w .scroll -side right -fill y
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ pack $btns -side bottom -fill x
24
24
25
25
set family Courier
26
26
27
- text $w .text -yscrollcommand " $w .scroll set" -setgrid true \
27
+ text $w .text -yscrollcommand " $w .scroll set" -setgrid 1 \
28
28
-width 70 -height 32 -wrap word -font " $family 12"
29
29
ttk::scrollbar $w .scroll -command " $w .text yview"
30
30
pack $w .scroll -side right -fill y
You can’t perform that action at this time.
0 commit comments