>
> You could do something similar in BXML by using a BoxPane with
> orientation="vertical" as the root element. However, since BXML isn't
> compiled, this file won't be tied to any code. So, you need to create a
> class that extends BoxPane and use that as your root element:
> <my:MyBoxPane>. This class will generally implement Bindable, which provides
> the initialize() method that you can use to perform your initialization,
> similar to XAML and MXML.
>

Which is exactly what I'm doing, except that I've elected to use StackPane
rather than BoxPane, which is a terrible choice for the reasons I mentioned
earlier (not layout-transparent -- even if I put orientation="vertical"
styles="{fill:true}" on my root element, which is a nuisance, it still
doesn't do what I want.  Apparently fill only applies to
the orthogonal dimension of the BoxPane's orientation).

Reply via email to