Thanks Adam! This experiment is meant to solve for a couple of problems --
1) the need to avoid stretching gradients that are in PNGs; 2) the need to avoid too many views in the mainstream case (default height). 3) the need to have resources for button that don't rely on idiosyncratic Flash stretching behavior with hairlines. On Sep 14, 2006, at 6:26 PM, Adam Wolff wrote: > David asked me to cons up a little example of how we could do a > component > that switches from 3 pieces for fixed height to 9 for variable height. > > Attached please find a start. If we like this approach, a few things > should happen: > 1) The panel should listen for onheight and switch to ninePieceMode > when > it gets set to its non-native height > 2) We should move the functionality in resizelayout into > panellayout if > we're worried about performance > 3) We need to figure out what's going on with the png assets. They > don't > look right even in swf > > I had thought that once a panel switches to ninePieceMode, it doesn't > switch back. > > A > <optframe.zip> > > _______________________________________________ > Laszlo-dev mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
