On 8/10/15, 12:47 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" <omup...@gmail.com on behalf of bigosma...@gmail.com> wrote:
>On Sat, Aug 8, 2015 at 10:04 PM, Alex Harui <aha...@adobe.com> wrote: > >> >> >> Certainly, we can add a FlexBoxLayout. My main complaint is that >> HorizontalLayout via inline-block doesn’t work like I and hundreds of >> others on SO think it should so we all end up asking the same question. >> >> >I understand the issue with inline-block for HorizontalLayout, but why do >we have to use it in FlexJS? CSS's FlexBox has already solved Horizontal >and Vertical layouts for most of these use cases. IMO, there is no need >for a FlexBoxLayout, just a HorizontalLayout, which is implemented in CSS >using the FlexBox model. > It looked like it wasn’t supported on IE9 which is currently our baseline. > > >> >> Another thing I find unexpected about HTML layouts is how height is >> managed. In the FlexJSStore, lots of containers are “sized to content” >>in >> that either width or height or both aren’t specified. In such a >> situation, HTML layouts don’t work that well. I may end up setting the >> missing width or height style as part of layout. >> > >Does "width: auto; height:auto" not work for as expected? Not always. Which is why the forums are so busy. -Alex