Remember that the Basic components have a goal of being the most
lightweight wrappers around HTMLElements.  AFAICT, there is no verticalGap
CSS property in the browsers, so, IMO, the Basic VerticalLayout should not
support a "verticalGap" property because the only way I can think of
implementing verticalGap is to write a bunch of code.  Today, Basic
VerticalLayout relies on just setting display:block on each element and
letting the browser figure out where to position things.

Someone is certainly welcome to write a VerticalLayoutWithGap though.  And
VerticalLayoutWithGap could certainly be the default vertical layout in a
Migration component set.

The children in a Basic VerticalLayout should respond to padding and
margin today.

So far, in the Basic component set, I am trying to resist the temptation
to add properties to UIBase for CSS style properties other than width and
height.  Again, a Migration component set can have properties for every
CSS style property, but IMO, the API is cleaner and the code is smaller if
we don't have properties for every CSS style property on the Basic
component set.

My 2 cents,
-Alex

On 11/10/16, 2:23 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
<carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> wrote:

>I as well try to get some "padding" between items in a vertical or
>horizontal layout and no found that property, so I'm as well interested to
>know is something of this is already done or needs to be done.
>
>thanks
>
>2016-11-10 10:56 GMT+01:00 piotrz <piotrzarzyck...@gmail.com>:
>
>> Hi Harbs,
>>
>> Once I finally have proper working build I may go through his blog and
>>try
>> to do one by one in FlexJS.
>> I'm wondering what other thinks about your idea.
>>
>> Piotr
>>
>>
>>
>> -----
>> Apache Flex PMC
>> piotrzarzyck...@gmail.com
>> --
>> View this message in context: http://apache-flex-
>> development.2333347.n4.nabble.com/Back-to-the-docs-tp56432p56434.html
>> Sent from the Apache Flex Development mailing list archive at
>>Nabble.com.
>>
>
>
>
>-- 
>
>Carlos Rovira
>Director General
>M: +34 607 22 60 05
>http://www.codeoscopic.com
>http://www.avant2.es
>
>
>Este mensaje se dirige exclusivamente a su destinatario y puede contener
>información privilegiada o confidencial. Si ha recibido este mensaje por
>error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
>proceda a su destrucción.
>
>De la vigente Ley Orgánica de Protección de Datos (15/1999), le
>comunicamos
>que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
>S.A. La finalidad de dicho tratamiento es facilitar la prestación del
>servicio o información solicitados, teniendo usted derecho de acceso,
>rectificación, cancelación y oposición de sus datos dirigiéndose a
>nuestras
>oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
>necesaria.

Reply via email to