Re: [Fxruby-users] detecting form frame resize
Status: Inactive
Brought to you by:
lyle
From: meinrad r. <mei...@gm...> - 2003-10-11 14:52:09
|
Brett S Hallett wrote: > Hi, I have a small form with predefined dimensions, however I would like > to allow the user to resize for their > convienence -- that' s easy enough, and all the widgets react > accordingly however how do I get the FXTable columns to also resize in > the correct proportions ? > > ie: col 1 = 5% ( of total width), col 2 = 10%, col 3 = 55% .. etc > > I currently re-compute these sizes based on getWidth() when the form is > loaded , but of course this does not work on a user resizing the form. > > So how do I detect & react to this ? > connect SEL_CONFIGURE to the tables parent. this will always be called when the frame was resized. cheers, -- henon -------------- % cat "food in cans" cat: can't open food in cans |