I've been working on a program that uses "init-auto-scrollbars" and I noticed that when the window is resized it actually changes the size of the virtual canvas along with the literal canvas instead of just resizing the scrollbar and changing the size of the literal canvas.
Here's an example that shows this: *(require racket/gui)(define frame (new frame% [label "Example"] [width 300] [height 300]))(define canv (new canvas% [parent frame] [style '(vscroll hscroll)] [paint-callback (lambda (canvas dc)(send dc draw-ellipse 0 0 500 500))]))(send frame show #t)(send canv init-auto-scrollbars 500 500 0.0 0.0)* Resize the window, making it large enough to show the entire ellipse; notice how the scrollbar's relative size doesn't change, and there is blank space at the bottom. Is this by design or some kind of bug?
____________________ Racket Users list: http://lists.racket-lang.org/users