[flexcoders] Re: Determining text control's height in a ListItemRenderer.
Thanks guys, I was finally able to solve it. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You should set the Text's width to some portion of the item renderer's explicitWidth before measuring the Text. Note that ListItemRenderer already does wordwrapping and uses TextField instead of the heavier Text component. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of geraldshastri Sent: Monday, April 07, 2008 4:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Determining text control's height in a ListItemRenderer. Hi, I have made a custom control by extending the ListItemRenderer to use as an itemRenderer with a list control. This custom component has some images and text controls. But I am having trouble sizing the Text controls. The Text control can have a varying width depending upon the width of the component, but then how do I set the height of the Text control? The list is set to use variable row heights. I referred to http://tech.groups.yahoo.com/group/flexcoders/message/105824 http://tech.groups.yahoo.com/group/flexcoders/message/105824 which seems to be a similar problem, but I am not able to figure it out. Thanks for any help.
[flexcoders] Determining text control's height in a ListItemRenderer.
Hi, I have made a custom control by extending the ListItemRenderer to use as an itemRenderer with a list control. This custom component has some images and text controls. But I am having trouble sizing the Text controls. The Text control can have a varying width depending upon the width of the component, but then how do I set the height of the Text control? The list is set to use variable row heights. I referred to http://tech.groups.yahoo.com/group/flexcoders/message/105824 which seems to be a similar problem, but I am not able to figure it out. Thanks for any help.
[flexcoders] Adding an ellipsis to truncated text in Text control
I am using a text control but it's not showing the ellipsis ('...') after the truncated text. The documentation clearly says that it should be added. Do I have to toggle some settings to get the ellipsis after the truncated text? Thanks.
[flexcoders] Re: Adding an ellipsis to truncated text in Text control
Yes I did that, and by default that property is set to true, as per the documentation. --- In flexcoders@yahoogroups.com, learner [EMAIL PROTECTED] wrote: did u try this : mx:Text truncateToFit = 'true' / On Mon, Mar 31, 2008 at 2:53 PM, geraldshastri [EMAIL PROTECTED] wrote: I am using a text control but it's not showing the ellipsis ('...') after the truncated text. The documentation clearly says that it should be added. Do I have to toggle some settings to get the ellipsis after the truncated text? Thanks.
[flexcoders] Re: popUp property null on creationComplete
Thanks Alex I've discovered the true nature of this problem, I am building a mockup for an application with lots of graphical skins and a few custom components but after some point the moment I add another component (an Image, a VBox, a Text etc. ) I start receiving these runtime errors. The item renderers fail to work, popUpButtons refuse to open despite clicking. Btw I am using the 60 day trial of flex builder 3 are there some restrictions in the trial? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The popup isn't created until just before the OPEN event, so I'd listen for that and set the itemrenderer then. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of geraldshastri Sent: Saturday, March 22, 2008 1:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] popUp property null on creationComplete I am using a popUpMenuButton inside an MXML component but trying to set an itemRenderer fails since the popUp property is null even after the creationComplete event is fired. Does anyone have a clue to this?
[flexcoders] Message posting guidelines
Are there any guidelines for posting to this group? I'm trying hard for so many days without any luck, my questions never show up in the lists. What are the rules of censorship being used here? Or is there a few days of delay or latency of some kind? I hope if there are guidelines new comers like me will be saved from a lot of anxiety waiting for a response with their fingers crossed :).
[flexcoders] popUp property null on creationComplete
I am using a popUpMenuButton inside an MXML component but trying to set an itemRenderer fails since the popUp property is null even after the creationComplete event is fired. Does anyone have a clue to this?