The following example shows how you can indent the title of a Panel control in Flex by setting the titleStyleName style and textIndent style.
Full code after the jump.
The following example shows how you can indent the title of a Panel control in Flex by setting the titleStyleName style and textIndent style.
Full code after the jump.
The following example demonstrates how to use embedded images in a List control so that each item in the list displays a little icon based on a certain property in the data provider. You’ll also notice that we set the textIndent style to give the label a bit more padding from the icon. Finally, we create three non-interactive Button controls beneath the list as a sort of “legend” for the icons.
Full code after the jump.