Is there a public bug tracker for Flex now? I want to find out of this is truly a bug (and I have to bodge it), or I'm just doing something silly.


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Tuppeny
Sent: 30 June 2006 14:55
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Scrollbar bug (with sample code)

I thought that too. So I added a label that displayed the properties, (text="{hscroll.height}" etc.), and they all updated fine as the control rendered. I can fix it with a bodge, but I'm hoping someone can confirm a bug, or explain what I'm doing wrong :-)


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Hawryluk
Sent: 30 June 2006 14:48
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Scrollbar bug (with sample code)

I added this to your vscroll, it worked but not the best, you may want to play around with this a bit. Perhaps the binding is not getting called until hscroll is created they are not created at the same time, so if hscroll is not fully created the height would in fact be 0.
 
creationComplete="vscroll.y=hscroll.height;"
 
Hope this helps
 
Jason
 
 
 
 
-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Daniel Tuppeny
Envoyé : vendredi 30 juin 2006 15:19
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Scrollbar bug (with sample code)

Here's some code to show the problem I'm having. When I load the page, the VScrollBar goes right to the bottom edge of the page (ignoring the bottom attribute). If I resize the window, everything jumps into place correctly.
 
This worked fine in beta 3. Any ideas? I've attached a screenshot of what I see.
 
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
 
 <mx:Legend width="200" height="200">
  <mx:LegendItem label="Mydtest" />
 </mx:Legend>
 
 <mx:VScrollBar id="vscroll" bottom="{hscroll.height}" right="0" top="0" />
 <mx:HScrollBar id="hscroll" bottom="0" left="0" right="{vscroll.width}" />
  
</mx:Application>

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


[Inbound Mail Scanned by MessageLabs]

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

[Inbound Mail Scanned by MessageLabs]

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
__._,_.___

--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to