flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS]Layout redux
Date Thu, 23 Feb 2017 06:54:35 GMT
A few comments/questions:

What does flex-box do when it runs out of room?  Doesn't it wrap to a new
row/column?  Or can that be controlled?  I think most folks expect
VerticalLayout to not create a new column but to keep going vertically and
be clipped or scrolled.

On the SWF side, I am hopefully going to get buy-in to unwrap the Sprites
again.  That's what the dual branch is all about.

+1 for lighterweight (one div) Container.  I thought we'd already done
something like that in one of the Item Renderers.  But Panel and other
ChromContainers probably need to extend Container because people expect
it, although I'd be fine if they both just implemented some sort of
IContainer.

As an alternative to flex-box, it is totally fine to have more than one
VerticalLayout.  One that tries to use display:block and another one that
runs a bunch of code and does position:absolute on everything.

In reality, how many of you use position:absolute or position:relative in
a real-world HTML/JS UI?  It still feels like we are going to end up using
it too much, but maybe that's what has to happen in order to solve some of
the common layout issues, like making one thing stretch to fill all
available space.

My 2 cents,
-Alex

On 2/22/17, 2:31 PM, "Peter Ent" <pent@adobe.com> wrote:

>Great. Thanks. I will take a look at these tomorrow.
>‹peter
>
>On 2/22/17, 5:19 PM, "Harbs" <harbs.lists@gmail.com> wrote:
>
>>This too:
>>https://philipwalton.github.io/solved-by-flexbox/
>>
>>> On Feb 23, 2017, at 12:16 AM, Harbs <harbs.lists@gmail.com> wrote:
>>> 
>>> BTW, this might be useful:
>>> https://github.com/philipwalton/flexbugs
>>><https://github.com/philipwalton/flexbugs>
>>> 
>>>> On Feb 23, 2017, at 12:08 AM, Harbs <harbs.lists@gmail.com
>>>><mailto:harbs.lists@gmail.com>> wrote:
>>>> 
>>>> How well do these work in IE?
>>>> 
>>>> It looks like Flexbox is not supported at all in IE prior to IE10 and
>>>>even in IE10 and 11, it only has buggy support.[1]
>>>> 
>>>> [1]http://caniuse.com/#feat=flexbox <http://caniuse.com/#feat=flexbox>
>>>> 
>>>>> On Feb 22, 2017, at 11:40 PM, Peter Ent <pent@adobe.com
>>>>><mailto:pent@adobe.com>> wrote:
>>>>> 
>>>>> I just pushed new layouts: VerticalFlexLayout and
>>>>>HorizontalFlexLayout as
>>>>> well as a change to DataBindingExample to use them. I consider these
>>>>> temporary and would like to make them be the VerticalLayout and
>>>>> HorizontalLayout in the near future.
>>>> 
>>> 
>>
>

Mime
View raw message