Displaying 1 result from an estimated 1 matches for "maxchildwidth".
2007 May 17
2
FXMDIChild shrinkwrap to content
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
     super
   end
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