2.300 .scale
Meaning
Attention: This attribute is deprecated for the tile resource and is only present for compatibility reasons. It tells whether there is scaling on the image/ pattern or not. Which scaling exactly is active can be taken from the attribute .scalestyle. The attribute should not be used anymore. The scaling of a tile resource should only be controlled via the attribute .scalestyle.
Meaning
On the setup object, this attribute returns the current system scaling (the one from the primary monitor). Setting .scale on the setup object is not possible.
Definition
-
Data type
boolean (tile)
integer (setup)
-
Access
get, set (tile)
get (setup)
-
changed event
no
Value range
- false
- The tile retains its defined size. No scaling is applied.
- true
- Compatibly says only that there is a scaling. Which scaling is applied can be taken from the attribute .scalestyle. In case of a true value the attribute .scalestyle is set to the value scalestyle_any.
See also Attribut
Value range
- 0
- Windows: DPI awareness is disabled.
Motif: Scaling is switched off. No XFT fonts are used and images/patterns are not scaled.
Qt: The scaling used by the system is used. - > 0
- Currently active scaling of the application in %.
- Note: scaling should be done in reasonable steps of 50%, 100%, 200%, 300% etc.. Otherwise, unsightly scaling and possibly also performance effects may occur.
Availability
This affects the availability at the setup object as well as the classification as deprecated for the tile resource.
See also