Adobe Dreamweaver Forums



Last 10 THreads :         How to use custom functions from Dlls (Last Post : dotnetuser - Replies : 0 - Views : 1 )           »          Flash Controls Not Displaying in Embedded File (Last Post : QADesign - Replies : 2 - Views : 3 )           »          Re: Where to Install fonts (Last Post : quality11 - Replies : 0 - Views : 1 )           »          Making a photo with rounded corners (Last Post : Linda Rathgeber - Replies : 3 - Views : 4 )           »          Online shop with barcode scanner (Last Post : Hunter Elliott - Replies : 1 - Views : 2 )           »          Renaming a project (Last Post : poverbo - Replies : 8 - Views : 15 )           »          Merged Projects Not Appearing in WebHelp TOC (Last Post : hermi14 - Replies : 4 - Views : 5 )           »          Sound.position (Last Post : kglad - Replies : 1 - Views : 2 )           »          Flash-PHP Mail Form (Last Post : kglad - Replies : 1 - Views : 2 )           »          Cookies and cflogin (Last Post : idesdema - Replies : 10 - Views : 11 )           »         


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 10-31-2008, 06:22 PM
sinosoidal
 
Posts: n/a
Diggs:
Default Problem styling item renderer

Hi,

I'm exploring the capabilities of the custom item renderers. However i'm
having some dofficulties in making them work as i want.

I want each item to be in a container with rounded corners, so i did the
following:

<mx:Panel
xmlns:mx="http://www.adobe.com/2006/mxml"
cornerRadius="100"
backgroundColor="0x000000"
backgroundAlpha="0.5">
<mx:VBox
xmlns:mx="http://www.adobe.com/2006/mxml"
paddingBottom="20"
horizontalAlign="center"
verticalAlign="middle"
width="150"
height="100">
<mx:HBox>
<mx:Label text="Serial number:" />
<mx:Label text="{data.@serial}" />
</mx:HBox>
<mx:HBox>
<mx:Label text="Last seen:" />
<mx:Label text="{data.@last_seen}" />
</mx:HBox>
<mx:Button label="Connect" />
</mx:VBox>
</mx:Panel>

The thing is that the corners aren't rendered with radius and the item
selected thing appears beneath the item.
Is this a normal behaviour?

How can I make the root of the item renderer (the panel) to have the corner
with radius appear correctly and the item selected thing appears on the top of
the item, inside the rounded corner panel?

Thanks,

Nuno



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 10:25 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk