;hello ;is there any option that make it able to wrap the buttons(as like word wrap) if set of buttons' width is larger than pane's width? ;I mean, I want to place 3 buttons in a row. so make it to two lines ;but this code not be able to make two lines but only one
#lang racket/gui (define f (new frame% (label "1"))) (define hp (new horizontal-pane% (parent f) (min-width 50) (stretchable-width #t))) (define btn1 (new button% (label "btn1") (parent hp))) (define btn2 (new button% (label "btn2") (parent hp))) (define btn3 (new button% (label "btn3") (parent hp))) (define btn4 (new button% (label "btn4") (parent hp))) (define btn5 (new button% (label "btn5") (parent hp))) (define btn6 (new button% (label "btn6") (parent hp))) (send f show #t)
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

