It should be fairly simple to have ContainerView set up the background if
explicit width AND height are set. Given what you said/wrote, this seems
to be the best fit. The problem I’ve run into is only an issue for
wrote:
>Interesting. We could do that, but it bugs me a bit. The deferred
>childr
Interesting. We could do that, but it bugs me a bit. The deferred
childrenAdded call is intended to close a transaction where addElement
calls were told not to dispatch events on each call. If you look at it
that way, a deferred childrenAdded call is an optimization option also
available to folk
I¹ve been looking into this.
In MXMLDataInterpreter.generateMXMLInstances, if the data parameter is
null, the function immediately returns. This means you have something like
- it has no children.
I¹m wondering if a better approach might be to re-write this function as:
public static function g
On 5/18/15, 1:51 PM, "Peter Ent" wrote:
>The container appears to have no size. I have it explict (400x400) and so
>it should be a colored rectangle. Without content you get a blank screen.
>Add a label and you get the label inside a 400x400 colored box.
Ah, ok. If the container does have siz
The container appears to have no size. I have it explict (400x400) and so
it should be a colored rectangle. Without content you get a blank screen.
Add a label and you get the label inside a 400x400 colored box.
‹peter
On 5/18/15, 4:40 PM, "Alex Harui" wrote:
>
>
>On 5/18/15, 1:31 PM, "Peter Ent
On 5/18/15, 1:31 PM, "Peter Ent" wrote:
>Encountered a couple of things:
>
> with no content or explicit layout blows up; the layout
>property is null. Maybe Container should have a default layout (Basic?).
Sounds reasonable.
>
>If you use VContainer, for example, and style the container to h
Encountered a couple of things:
with no content or explicit layout blows up; the layout
property is null. Maybe Container should have a default layout (Basic?).
If you use VContainer, for example, and style the container to have a
background color, the container will not appear unless it has con
Would love to check it out. :) I think I need to checkout http until this
stupid GIT stuff is figured out by Apache.
Mike
On Mon, May 18, 2015 at 1:50 PM, Alex Harui wrote:
> Hi,
>
> I just pushed an attempt to better organize how layout works on the AS
> side (The JS side heavily relies on the