paulhoule/tentacruel

Scrollbar doesn't scroll canvas

Closed this issue · 3 comments

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.

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...

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.

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

  • they make streaks if you hold on to the scroll bar for a long time,
  • there are still quirks of window sizing, such as
    • the "music sources" window has too much space at the bottom.

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.