"midLineWidth"

The attribute "midLineWidth" sets the width of the mid line (content) of an object (for example, a thumb wheel, tree widget, zoom navigator, LCD number or a progress bar).

Synopsis

shape.midLineWidth(int width);

Parameter

Parameter Description
shape Name of the object
width The width of the mid line.

Description

The attribute "midLineWidth" sets the width of the mid line (content) of an object (for example, a thumb wheel, tree widget, zoom navigator, LCD number or a progress bar).

Example

The code sets the width of the mid line to 4.

main(bool enter)
{
  PROGRESS_BAR1.midLineWidth(4);
}
Figure 1. Progress bar without specified midLineWidth (frameShape = "Box")
Figure 2. Progress bar with specified midLineWidth
Figure 3. Thumb wheel without specified midLineWidth (frameShape = "Box")
Figure 4. Thumb wheel with specified midLineWidth

Assignment

Thumb wheel, Progress bar, Tree Widget, Zoom Navigator, LCD number, DpTreeView