RE: [flexcoders] Drawing in Panel Insanity

2008-02-20 Thread Jim Hayes
Sent: 19 February 2008 20:04 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Drawing in Panel Insanity Right, but I mean I can't seem to find the method or properties to find the panel's scrollbars in the Panel content area - nothing I could find in the help docs. Got it working

RE: [flexcoders] Drawing in Panel Insanity

2008-02-20 Thread Merrill, Jason
Subject: RE: [flexcoders] Drawing in Panel Insanity Last time I needed the scrollbars property of a component I found that the scrollbar was protected - so had to extend the component itself and add methods to get scrollbar width etc

RE: [flexcoders] Drawing in Panel Insanity

2008-02-20 Thread Jim Hayes
PROTECTED] On Behalf Of Merrill, Jason Sent: 20 February 2008 15:46 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Drawing in Panel Insanity Cool - do have some sample methods that get the scrollbar width of a component that extends panel? Jason Merrill Bank of America GTO LLD Solutions

RE: [flexcoders] Drawing in Panel Insanity

2008-02-20 Thread Merrill, Jason
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Wednesday, February 20, 2008 12:00 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Drawing in Panel Insanity

RE: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Merrill, Jason
: [flexcoders] Drawing in Panel Insanity You're probably not taking in account the panel's border thickness properties. When you get the panel's width it's including the border (not just where the content is being drawn like youre imagining). To get the true width

Re: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Eric Cancil
] *On Behalf Of *Eric Cancil *Sent:* Tuesday, February 19, 2008 12:36 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Drawing in Panel Insanity You're probably not taking in account the panel's border thickness properties. When you get the panel's width it's including the border

[flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Merrill, Jason
So I've been writing an Actionscript component that extends UIComponent and is wrapped inside a Panel tag. The UIComponent has code that draws a flowchart of sorts into the content area of the Panel, based on a dataprovider it's bound to. Everything works fine there, and the drawn graphics change

RE: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Merrill, Jason
, February 19, 2008 12:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Drawing in Panel Insanity You're going to have to account for that either way. On Feb 19, 2008 12:37 PM, Merrill, Jason [EMAIL PROTECTED] mailto

Re: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Eric Cancil
You're probably not taking in account the panel's border thickness properties. When you get the panel's width it's including the border (not just where the content is being drawn like youre imagining). To get the true width of the content area youd need to subtract getStyle(borderThicknessRight)

RE: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Merrill, Jason
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Cancil Sent: Tuesday, February 19, 2008 12:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Drawing in Panel Insanity You're probably not taking in account the panel's border thickness

Re: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Eric Cancil
:* Re: [flexcoders] Drawing in Panel Insanity You're probably not taking in account the panel's border thickness properties. When you get the panel's width it's including the border (not just where the content is being drawn like youre imagining). To get the true width of the content area

RE: [flexcoders] Drawing in Panel Insanity

2008-02-19 Thread Merrill, Jason
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Cancil Sent: Tuesday, February 19, 2008 2:50 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Drawing in Panel Insanity You can access their height and width