paulhoule / tentacruel

MIT License
0 stars 0 forks source link

Scrollbar doesn't scroll canvas #11

Closed paulhoule closed 5 years ago

paulhoule commented 5 years ago

Also part of #2. It looks like it should work, but it doesn't really. Once I've shrunk the window sufficiently for the scrollbar to work, nothing happens when I move the scrollbar.

paulhoule commented 5 years ago

ok, when I set the command of the scrollbar to "print", I see a number of events that look like

moveto 0.4611
moveto 0.4669
moveto 0.4698

so it looks like those events are being triggered... It seems though that the "yview" function of the canvas is not handling them...

paulhoule commented 5 years ago

The big thing I was doing wrong here was that I was gridding the inner frame (which has the rows stacked up in it) into the canvas instead of using create_window to put it there.

Now I think the vertical scrolling is just peachy, the problem I have now is with the horizontal axis. Lemmie take a break and then I will get back to it.

paulhoule commented 5 years ago

Ok, currently "scrollbars suck" in a number of ways, for instance:

I won't borrow trouble w.r.t. how it runs on mac, will other people like how it looks. However I was able to pick out the song I wanted using the scrollbars so I guess that is good enough.