hi piotrz,
first thanks for the answer.
i want 100% of the whole itemrenderer. i also added this to it:
<s:Rect left="0" right="0" top="0" bottom="0">
<s:fill>
<s:SolidColor color="0xFF0000"/>
</s:fill>
</s:Rect>
The list should show up only one item at start and the size of one item
should be the whole list size:
And thx for the tip with the label but this is just my testcode more items
will come.
my workround is the following:
set the width of item renderer manual: this.width = this.parent.width; and
on list resize (orientation change) do the same. but i am not happy with
this solution. but it works.
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/100-width-for-an-ItemRenderer-in-a-list-with-a-horizontal-layout-tp10735p10737.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.