> can I ask why I can't use a namespace for all my custom stuff?
Because if you look at the itemRenderer's type, it is IFactory. This means it has to be a class reference not a pointer to some package IE namespace.
Right now it has to be the fully qualified class package with name.
BTW, a namespace is relevant to XML, not a value of an attribute In the XML. You are mixing two perceptions, it's not an 'import' statement.
Peace, Mike
this *should* be easy. In HTML it'd just be a colspan....anyhoo...
I've got a datagrid headerRenderer that should have the layout
...... Email Notifications .....
... Initial ...... | ..... Reminder
Notifications . | ......... Date
(the cells underneath will be custom itemRenderers I'm esentially
having 2 columns with a common parent header)
I just can't get the text to wrap. there's "truncate to fit" but no
wrap. any ideas?
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" width="150">
<mx:Label text="Email Notifications" textAlign="center"/>
<mx:HBox height="35" >
<mx:Label text="Initial Notifications" textAlign="center" />
<mx:Label text="Reminder Date" textAlign="center"/>
</mx:HBox>
</mx:VBox>
thanx
barry.b
==========================================
ALSO: I'm lost as to why I need to do this:
I can define custom components with a namespace (OK so far)
<mx:Application ...
xmlns:my="custom_controls.*"
>
<my:ComboBox dataProvider="{colRole}" y="100"></my:ComboBox>
but I can't use that namespace for a datagrid headerRenderer control.
- this works:
<mx:DataGridColumn headerRenderer="custom_controls.NewLabel" />
- this doesn't
<mx:DataGridColumn headerRenderer="my.NewLabel" />
can I ask why I can't use a namespace for all my custom stuff?
thanx
b
--
What goes up, does come down. __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
Reply via email to