[Laszlo-dev] LPP-851 and removing xscale/yscale

Jim Grandy jgrandy at laszlosystems.com
Wed Jan 25 15:35:34 PST 2006


I've removed xscale/yscale from the schema, per LPP-851, but removing  
the functionality altogether is slightly more complicated.

It appears as though xscale/yscale are only used in LaszloView.as in  
the ORL and the components.

However, by removing xscale/yscale, I *think* we would also want to  
remove the following:

- _setrescheight
- _setrescwidth
- stretchResource

And unfortunately, stretchResource is used in three places:  
chart.lzx, datamarker.lzx, and (less important, I know)  
redmondwindowmenu.lzx.

In chart.lzx, line 143:    this.chartBackground.stretchResource();

in datamarker.lzx, line 27:   this.pointrepresentation.stretchResource 
();

The default is to leave the code in place and just deprecate by  
removing from the schema. I think I should also add a debug warning  
to stretchResource. Given the dependencies, though, I'm not going to  
remove xscale/yscale et al in this release unless someone convinces  
me otherwise.

jim


More information about the Laszlo-dev mailing list