Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

Two FListBoxes need different text alignments

I have two instances of the same FListBox component. I need each of them to have a different text align... in one, the items must be centered. In the other, they must be default (left justified). How do I accomplish this?

Thanks very much!
-Dan
0
SuperMario
Asked:
SuperMario
1 Solution
 
negatyveCommented:
style_sf = new FStyleFormat();
style_sf.textAlign = "center";
style_sf.addListener(second_listBox_instance_name);
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now