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
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
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
.
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
: [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
] *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
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
, 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
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)
@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
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
.
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
12 matches
Mail list logo