From: Yuri Leikind Date: 2004-01-26T18:49:44+09:00 Subject: Re: FXRuby: adding child widgets after #run has started On Sat, 24 Jan 2004 13:50:06 +0900 Lyle Johnson wrote: > > > The problem is that merely adding an FXScrollWindow to the FXGroupBox > during that second call to build() doesn't mark the layout of the group > box as "dirty". That is to say, FOX doesn't assume that adding the > scroll window changed the size of the parent group box (grbox2), and so > that widget's layout doesn't get recalculated as a result. In this > case, you need to explicitly mark the group box layout as dirty by > calling its recalc() method. Try adding the following line at the end > of build(), after the call to FXScrollWindow#create: > > scrollarea.recalc > > and see if you get the result you're after. > > Hope this helps, Oh yes, it does, thank you again. -- Best regards, Yuri Leikind