Dude .. look through the source code for the framework on a Container, Canvas, and what not .. that's how I fixed all my problems .. you can see exactly what the framework is doing and fix it at the source .. of course subclassing and just making a copy of the implementation then editing .. works like a charm every time ..
--- In [email protected], "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > Hey guys, > > Is there an easy way for a custom component extending Container can be made > to act as a Canvas at design time? I've tried a few things and can get it to > mostly work, but it's still refusing to auto-size the component itself the > way Canvas does when there's no width or height. > > How much information is available to the component at design time, and what > should I do in measure()? I'm having a hard time finding information about > it online. > > Cheers, > > -Josh > > -- > "Therefore, send not to know For whom the bell tolls. It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] >
