File tree Expand file tree Collapse file tree 6 files changed +8
-6
lines changed
Expand file tree Collapse file tree 6 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ pack $tf -side top -expand yes -fill both
279279wm deiconify .
280280
281281#
282- # Work around a potential accuracy problem related to scaling
282+ # Work around a potential accuracy problem related to [winfo reqwidth $cf]
283283#
284284tkwait visibility $sf
285285while {[lindex [$sf xview] 1] != 1.0} {
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ pack $f -expand yes -fill both
129129wm deiconify .
130130
131131#
132- # Work around a potential accuracy problem related to scaling
132+ # Work around a potential accuracy problem related to [winfo reqwidth $cf]
133133#
134134tkwait visibility $sf
135135while {[lindex [$sf xview] 1] != 1.0} {
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ pack $tf -side top -expand yes -fill both
281281wm deiconify .
282282
283283#
284- # Work around a potential accuracy problem related to scaling
284+ # Work around a potential accuracy problem related to [winfo reqwidth $cf]
285285#
286286tkwait visibility $sf
287287while {[lindex [$sf xview] 1] != 1.0} {
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ pack $f -expand yes -fill both
124124wm deiconify .
125125
126126#
127- # Work around a potential accuracy problem related to scaling
127+ # Work around a potential accuracy problem related to [winfo reqwidth $cf]
128128#
129129tkwait visibility $sf
130130while {[lindex [$sf xview] 1] != 1.0} {
Original file line number Diff line number Diff line change @@ -278,9 +278,10 @@ pack $tf -side top -expand yes -fill both
278278wm deiconify .
279279
280280#
281- # Work around a potential accuracy problem related to scaling
281+ # Work around a potential accuracy problem related to [winfo reqwidth $cf]
282282#
283283tkwait visibility $sf
284+ set width [$sf cget -width]
284285while {[lindex [$sf xview] 1] != 1.0} {
285286 $sf configure -width [incr width]
286287 update idletasks
Original file line number Diff line number Diff line change @@ -115,9 +115,10 @@ pack $f -expand yes -fill both
115115wm deiconify .
116116
117117#
118- # Work around a potential accuracy problem related to scaling
118+ # Work around a potential accuracy problem related to [winfo reqwidth $cf]
119119#
120120tkwait visibility $sf
121+ set width [$sf cget -width]
121122while {[lindex [$sf xview] 1] != 1.0} {
122123 $sf configure -width [incr width]
123124 update idletasks
You can’t perform that action at this time.
0 commit comments