You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Carlos Rovira <ca...@apache.org> on 2018/03/05 16:21:11 UTC

separation within components

Hi,

just want to ask how to separate components a bit so there's some space
between them, right now all components I have are without any room within
them.
maybe there's some component to do this?

thanks

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: separation within components

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

I tried the Vertical layout with gap and the Spacer and both works ok in
SWF in my current example. For me the first one is ok since I only want
little space between components in my testings.

thanks!


2018-03-05 17:29 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Are you referring to SWF-side support?
>
> Otherwise, space between components should be managed with CSS margins.
> We also have a Spacer component like in Flex, but I think margins is the
> least expensive way.  The SWF-side support for CSS margins is currently
> not well implemented.  We might fix that up as we create emulation SWCs.
>
> HTH
> -Alex
>
> On 3/5/18, 8:23 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Ok just see this VerticalLayoutWithPaddingAndGap
> >
> >thanks! :)
> >
> >
> >2018-03-05 17:21 GMT+01:00 Carlos Rovira <ca...@apache.org>:
> >
> >> Hi,
> >>
> >> just want to ask how to separate components a bit so there's some space
> >> between them, right now all components I have are without any room
> >>within
> >> them.
> >> maybe there's some component to do this?
> >>
> >> thanks
> >>
> >> --
> >> Carlos Rovira
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%
> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C6037298f5ef343705c3608
> >>d582b5747c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C63655863820946093
> >>9&sdata=Blgt6j1UPN4%2BK%2BuGdIGIL%2BDf1Gc%2BeEONDuHVo1P7yOQ%3D&reserved=
> 0
> >>
> >>
> >
> >
> >--
> >Carlos Rovira
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%2
> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C6037298f5ef343705c3608d5
> >82b5747c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636558638209460939&s
> >data=Blgt6j1UPN4%2BK%2BuGdIGIL%2BDf1Gc%2BeEONDuHVo1P7yOQ%3D&reserved=0
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: separation within components

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Are you referring to SWF-side support?

Otherwise, space between components should be managed with CSS margins.
We also have a Spacer component like in Flex, but I think margins is the
least expensive way.  The SWF-side support for CSS margins is currently
not well implemented.  We might fix that up as we create emulation SWCs.

HTH
-Alex

On 3/5/18, 8:23 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Ok just see this VerticalLayoutWithPaddingAndGap
>
>thanks! :)
>
>
>2018-03-05 17:21 GMT+01:00 Carlos Rovira <ca...@apache.org>:
>
>> Hi,
>>
>> just want to ask how to separate components a bit so there's some space
>> between them, right now all components I have are without any room
>>within
>> them.
>> maybe there's some component to do this?
>>
>> thanks
>>
>> --
>> Carlos Rovira
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C6037298f5ef343705c3608
>>d582b5747c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63655863820946093
>>9&sdata=Blgt6j1UPN4%2BK%2BuGdIGIL%2BDf1Gc%2BeEONDuHVo1P7yOQ%3D&reserved=0
>>
>>
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C6037298f5ef343705c3608d5
>82b5747c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636558638209460939&s
>data=Blgt6j1UPN4%2BK%2BuGdIGIL%2BDf1Gc%2BeEONDuHVo1P7yOQ%3D&reserved=0


Re: separation within components

Posted by Carlos Rovira <ca...@apache.org>.
Ok just see this VerticalLayoutWithPaddingAndGap

thanks! :)


2018-03-05 17:21 GMT+01:00 Carlos Rovira <ca...@apache.org>:

> Hi,
>
> just want to ask how to separate components a bit so there's some space
> between them, right now all components I have are without any room within
> them.
> maybe there's some component to do this?
>
> thanks
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira