Hi,

I have implemented a very simple custom component which extends VBox (though
in the future I may refactor it to extend Container directly so that I can
apply absolute and horizontal layouts as well).  What properties can I set
on this component to define the area of content?  In other words, the area
within which children of this container should be laid out?  There is some
chrome on this component along one side, which I've placed within its
'rawChildren' property and configured in layoutChrome(), but the [non-raw]
children of this component now end up slightly obscured by the chrome I've
created.  I need to know what properties I can set to prevent the VBox from
allowing the children to extend that far.

I've tried setting the borderMetrics.right property in updateDisplayList(),
to indicate that the right border should be considered thicker than it would
normally be, but this causes unsightly re-draws frequently (i.e., the chrome
initially is laid out in one position during application startup, and then
it "jumps" to the proper position after that, which gives me the impression
I'm doing something wrong).

Thanks for your time,

Erik

Reply via email to