Tag Archive for 'textindent'

14
Jan

Indenting a Flex Panel control’s title

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.

Continue reading ‘Indenting a Flex Panel control’s title’

18
Sep

Setting a Flex ProgressBar control’s text indent

The following example shows how you can control the amount of text indenting on a progress bar label.

Full code after the jump.

Continue reading ‘Setting a Flex ProgressBar control’s text indent’

17
Aug

Displaying icons in a Flex List control

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.

Continue reading ‘Displaying icons in a Flex List control’