<div>;hello </div><div><div>;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?</div><div>;I mean, I want to place 3 buttons in a row. so make it to two lines</div>
<div>;but this code not be able to make two lines but only one</div></div><div><br></div><div>#lang racket/gui</div><div>(define f (new frame% (label "1")))</div><div>(define hp (new horizontal-pane% (parent f) (min-width 50) (stretchable-width #t)))</div>
<div>(define btn1 (new button% (label "btn1") (parent hp)))</div><div>(define btn2 (new button% (label "btn2") (parent hp)))</div><div>(define btn3 (new button% (label "btn3") (parent hp)))</div>
<div>(define btn4 (new button% (label "btn4") (parent hp)))</div><div>(define btn5 (new button% (label "btn5") (parent hp)))</div><div>(define btn6 (new button% (label "btn6") (parent hp)))</div>
<div><br></div><div>(send f show #t)</div><div><br></div><div><br></div>