From: Andrew S. <and...@qu...> - 2015-04-07 23:13:04
|
Following the discussions here of Tk-Cocoa 2.0, I have downloaded and built tcl/tk 8.6.4 and to try out. Unfortunately, there seems to be a regression when autoscrolling a text widget -- the scrollbar's "bar" is not visible. I have boiled the issue down to a simple script, which follows, and have attached screenshots from 8.6.3 and 8.6.4. Thank you Kevin for all the work on Tk-Cocoa, Andrew Stein package require Tk package require autoscroll ttk::scrollbar .v -orient vertical -command [list .t yview] ::autoscroll::autoscroll .v text .t -height 40 -yscrollcommand [list .v set] grid .t -row 0 -column 0 -sticky nsew grid .v -row 0 -column 1 -sticky nsew grid columnconfigure . 0 -weight 1 grid rowconfigure . 0 -weight 1 wm title . $tk_patchLevel for {set i 0} {$i < 100} {incr i} { .t insert end "$i\n" } |