Hi,
Try subclassing RectangularBorder instead, then you can override the
borderMetrics property and set it based on how much right offset you need.

Mike

On Tue, Oct 28, 2008 at 4:28 PM, Todd <[EMAIL PROTECTED]> wrote:

>   Crap, the email messed up my beautifully renditioned ASCII art of what
> I was drawing. Anyway, I was basically trying to show that there's a
> hanging tab off the main part of the container, effectively increasing
> the size of the container.
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, "Todd"
> <[EMAIL PROTECTED]> wrote:
> >
> > I've created a custom skin and applied it to a VBox. This skin isn't
> > just a regular border, but has some file-tab like protrusion on one
> > side. The border looks like:
> >
> > _______________________________________________
> > | |
> > | |
> > -------------------------------| |
> > XXXXXX | |
> > ----------------
> >
> > (The area with the X's shouldn't calculate in parent's child layout.)
> >
> > Now my question is, is there's something inside the skin that I can
> > set to mask off where controls are allowed to be laid out? Or, do I
> > just have to manually make sure that layout of controls in the parent
> > container are manually adjusted for my programmatic skin?
> >
> > What's the best way to deal with this. Ideally, my skin would notify
> > the container to a valid layout area.
> >
> > Thanks
> >
>
>  
>



-- 
Teoti Graphix, LLC
http://www.teotigraphix.com

Teoti Graphix Blog
http://www.blog.teotigraphix.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to