Borders, padding and corners
Figure 7. Inner Fill Padding keeps the fill away from the edge. Border Width and Radius describe the outer frame.
Use Inner Fill Padding to leave a small gap inside the meter. Start with 4 on the large example. Large padding on a short bar can leave no useful area for the fill, even though the value is correct.
Border Width and Border Radius here refer to the same authored borderWidth and radius properties used by Visual Style. They are convenient duplicates, not two independent frames. The per-corner fields in Visual Style can override the common radius: -1 inherits it, 0 makes a square corner and a positive number sets that corner’s curve.
The filled part is clipped to the padded rounded shape, and the outline is drawn again over a full fill. Give the empty background and border enough contrast to show where the meter ends.
Hover and press appearance are separate from progress. A hover image or background color does not mean the player is changing the number. Keep ordinary click events empty unless the meter itself has a deliberate action.
