Hi Matthew,

On 09/01/11 10:31, Marijn wrote:
> Hi list,
> 
> list-box%es are not properly sized; the following code:

I think you pushed a patch to change this. Currently the list-box as
coded below has a minimum size of three items. Unfortunately the scroll
bar seems to have a minimum size which is unusably large. There are 8
items in the list, but only 3 are shown and the scroll bar at ~99% size
and only serves to scroll to the last 3 items. Scrolling back up doesn't
work (the small ^ and v seem to work fine).

> #lang racket/gui
> 
> (define root (new frame% (label "choice widgets")))
> 
> (define list-box (new list-box% (parent root) (label "List-box: ")
> (style '(multiple)) (choices '("1" "b" "C3" "44" "five" "6" "seven" "OO"))))
> 
> (send root show #t)

New screenshot attached.

Marijn

<<attachment: bug-in-list-box-display2.png>>

Attachment: signature.asc
Description: OpenPGP digital signature

_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Reply via email to