Please enable JavaScript to view this site.

ESL Documentation

The no scale attribute allows you to specify how the region will scale when it is resized, either by the user via the size border or by statements within the ESL program. If you specify “no scale” option or, for image regions populated at runtime, the image within the region's viewport is not scaled, when the user resizes the region with the size border, more or less of the region's contents are revealed. The default is to scale the contents of the region so that the same image is always visible in the window, no matter what size it is. It is best to specify no scale when the contents of the region are mainly textual.

 

Specifying the no scale attribute also determines the ratio between window coordinates and screen pixels. When no scale is specified, ESL displays the contents of the region so that one window coordinate is equivalent to one screen pixel.