align DirectScrolledList items to the left

is there a chance to align DirectScrolledList items other than having’em centered?
I tried instancing it adding the


parameter but with no luck. BTW I’m putting just DirectButton items in my list

itemsAlign only applies when you are adding raw text strings to the list. Since you are adding DirectButtons, you have to align each button instead. Pass text_align = TextNode.ALeft to each DirectButton constructor. You might also need to specify an explicit frameSize = (left, right, bottom, top) to each DirectButton constructor, so they all have the same width.


thanks David, it is so indeed - I figured out watching some ThomasEgi code found around here. I already planned to post here the working piece, as soon as I finish to clean it up and then declare solved the question.