display issues with round universal slider

display issues with round universal slider

Summary

Universal sliders can be used to display a varaible's value graphically. Linear and round shapes are available. When selecting a round shape, then it is possible to define the start angle and the end angle of the scale. When the start angle is set to 0° and the end angle to 360° (so that the scale represents a full circle) then there are drawing issues in the runtime when the graphics mode is set to DirectX.

When the slider element is configured as explained and the variable's value is at its maximum, then the slider should be at 360° (completely filled). However, in DirectX drawing mode, 360° is automatically converted to 0° internally. As a result, the slider looks as if the variable's value was its minimum.

Description

Universal sliders can be used to display a varaible's value graphically. Linear and round shapes are available. When selecting a round shape, then it is possible to define the start angle and the end angle of the scale. When the start angle is set to 0° and the end angle to 360° (so that the scale represents a full circle) then there are drawing issues in the runtime when the graphics mode is set to DirectX.

When the slider element is configured as explained and the variable's value is at its maximum, then the slider should be at 360° (completely filled). However, in DirectX drawing mode, 360° is automatically converted to 0° internally. As a result, the slider looks as if the variable's value was its minimum.

Solution

The drawing algorithm for the round universal slider has been modified so that the element will be correctly drawn, independent of its settings and the variable value.

Information




Issue Number: 32080
Fixed on Date: 20.7.2015
Versions: 7.20 0 BUILD 21629