Oh, cool. I think I'll set verticalScrollPolicy to {dataProvider.length()>rowCount?"on":"auto"}, so I don't have those blank scrollbars present when they're not needed ;p
(haven't tested this yet, but hopefully it works) Btw, in googling to find out what lockedRowCount and rowCount were, I found your page ;) http://blogs.adobe.com/aharui/2007/07/the_future_of_list_classes_tre.html Thanks for taking time to answer my simple question, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Thursday, November 01, 2007 1:56 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] problem with list component If verticalScrollPolicy="auto" (default), the scrollbars are not factored into the width so its appearance does not shift your UI. If verticalScrollPolicy="on", the scrollbars are factored into the width _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Seth Caldwell Sent: Thursday, November 01, 2007 11:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] problem with list component If you don't specify a width on a list, it then resizes itself to fit the content - the list items. However, if you then add items to this list causing it to require a scrollbar, the scrollbar does not increase the total width as expected, but instead is placed over (and thus hiding) the content the list previously was sized to. =( Anyone ran into this and found a workaround? Seth