Adobe Dreamweaver Forums



Last 10 THreads :         Opensuse 11.0 install error (Last Post : RahulRohilla - Replies : 4 - Views : 5 )           »          Flash Publishing Help (Last Post : DLMAES - Replies : 1 - Views : 2 )           »          CFFEED Error message (Last Post : Azadi - Replies : 7 - Views : 8 )           »          Dynamic SQL FORM Variable (Last Post : Azadi - Replies : 3 - Views : 4 )           »          Character Movement + Rotation (Last Post : chinmayagoyal - Replies : 4 - Views : 5 )           »          Anonymous function in eventListener (Last Post : John Hall - Replies : 0 - Views : 1 )           »          Find CD Code (Last Post : Steve Howard **Community Expert** - eLearning + Mo - Replies : 1 - Views : 2 )           »          netdownload under Vista (Last Post : Steve Howard **Community Expert** - eLearning + Mo - Replies : 2 - Views : 3 )           »          How to aling text to right minus 7 pixels? (table) (Last Post : ohanse - Replies : 0 - Views : 1 )           »          applying css to a table (Last Post : snapply - Replies : 13 - Views : 14 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: , , , , , , ,

Reply
  #1 (permalink)  
Old 07-24-2008, 03:08 PM
forum_user
 
Posts: n/a
Diggs:
Default List horizontal scroll bar now showing in auto mode

I have defined an List control in a module with the following attributes:

<mx:List id="aListBox" dataProvider="{aXML}" selectable="false"
verticalScrollPolicy="auto" horizontalScrollPolicy="auto" width="150"
height="200" rowHeight="20" columnWidth="150"
itemRenderer="CustomerListBoxItem" cornerRadius="5"
itemClick="OnItemClick(event)" />

My custom item renderer is defined as follows:
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox width="100%" horizontalScrollPolicy="off"
xmlns:mx="http://www.adobe.com/2006/mxml" paddingLeft="10" paddingBottom="0"
paddingTop="0" paddingRight="0" buttonMode="true" >
<mx:Image id="imgCustIcon" visible="true" horizontalAlign="right"
source="{'../../' + data.attribute('ImageUrl').toString()}" />
<mx:LinkButton id="AppLinkLabel" label="{data.attribute('Text').toString()}"
paddingLeft="0" paddingTop="0" paddingBottom="0" fontFamily="Verdana"
fontSize="12" fontWeight="normal" rollOverColor="white" selectionColor="white"
/>
</mx:HBox>

But whatever the setting I do the Horizontal scroll bars doesn't show up on
the list control when the text goes beyond the width of the list control.
Anybody know why this would be.. Thanks

Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 04:16 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk