Skip to reading
Images, Carousels & Choice Controls

16. Style the track and handle

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Figure 25. The Slider Handle controls appear in Visual Style. Colors are entered as color strings in this build.

Source table from 16. Style the track and handle, page 30
FieldUse
Background and border colorsThe ordinary track surface and outline.
Hover BackgroundThe filled track area’s color in the runtime style.
Slider Thumb ColorColor of the generated normal handle when no handle image is used.
Slider Thumb Hover ColorGenerated handle color for its highlighted state.
Slider Thumb SizeHandle size, from 4 to 128 in the typed control.
Slider Thumb GlowSoft halo for the generated fallback handle.

Keep the handle easy to distinguish from the track. A tiny dark handle on a dark line may look elegant in a screenshot and be frustrating to drag. Give it enough room inside the element’s Height.

Thumb color and glow generate the fallback handle. They are not a promise to recolor or add a halo to an imported handle image.

Page 30 of 52Permalink
Go to page