From: Kevan H. <ha...@br...> - 2020-07-29 18:18:11
|
Greetings, I'm running on MacOS Catalina 10.15.5. I have TclTk 8.6.10, compiled from sources. I execute the following to create a text window. catch {destroy .f} frame .f pack .f -side top -fill both text .f.text -relief sunken -border 2 -setgrid 1 -height 10 -width 20 -wrap none .f.text configure -yscrollcommand ".f.vsb set" scrollbar .f.vsb -orient vertical -command ".f.text yview" pack .f.vsb -side right -fill y .f.text configure -xscrollcommand ".f.hsb set" scrollbar .f.hsb -orient horizontal -command ".f.text xview" pack .f.hsb -side bottom -fill x pack .f.text -expand yes -fill both for {set i 0} {$i <20} {incr i} { .f.text insert end "$i\: This window should have scroll bars.\n" end } In TclTk 8.5, this works fine. In 8.6.10 it works fine on Windows and Linux it works fine. On MacOS 10.15 I get the text window, but the scroll bar buttons are invisible and the scrolling is unreliable. Sometimes the lines get garbled up as I scroll with the trackpad. The scroll bar buttons appear to be present, because if I click on one by luck, I can drag it up and down. I tried increasing the elementborderwidth and border of the scrollbars, but that did not make the buttons appear. On MacOS 10.13 I see the same problems. Is there some adjustment to the text or scrollbar widgets I need to make to get them to appear? Best, Kevan -- Kevan Hashemi, Electrical Engineer Physics Department, Brandeis University http://www.bndhep.net |