actionscript 3 - vertical scrollbar issue in list item render in flex3 -
i have hbox in title window, in hbox using list itemrenderer. list of items displaying along scrollbar, problem 2 scrollers displaying in scrollbar. when mouse move on scroll bar 1 hidden , working properly. how resolve issue please me.thanksin advance.
my code is
abc.mxml <?xml version="1.0" encoding="utf-8"?> <mx:titlewindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" width="400" height="300" showclosebutton="false" title="select"> <mx:hbox width="100%" height="100%" > <mx:list id="vehicletypelist" width="50%" height="100%" dataprovider="{typelist}" itemrenderer="{new classfactory(myitemrenderer)}"/> </mx:hbox> <mx:button id="btnok" label="ok"/> <mx:button id="btncancel" label="cancel" c/> </mx:titlewindow>
myitemrenderer.mxml
<?xml version="1.0" encoding="utf-8"?> <mx:hbox xmlns:mx="http://www.adobe.com/2006/mxml" verticalalign="middle" horizontalgap="10"> <mx:image id="image" width="36" height="36" horizontalalign="center" verticalalign="middle" scalecontent="true" maintainaspectratio="true" source="{xyz.jpg}" /> <mx:label text="{text}" width="80%"/> </mx:hbox>
Comments
Post a Comment