[fxruby-users] FXMDIChild shrinkwrap to content

Joel VanderWerf vjoel at path.berkeley.edu
Thu May 17 16:07:31 EDT 2007

How can I get a FXMDIChild to shrinkwrap to its content?

Here's what I'm doing now:

   def create(*)
     self.height = maxChildHeight + 30
     self.width = maxChildWidth + 10

This works, but I'm not crazy about manually adjusting for (apparently) 
frame and title bar sizes.

       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

More information about the fxruby-users mailing list