Welcome, Guest. Please login or register.
Did you miss your activation email?
02/07/12, 08:21
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flex, Air, FlashBuilder, Catalyst (Moderators: ..:: Mazhar Hasan ::.., kofi addaquay)
| | |-+  Adding top margin at the First Item from sparks List components
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Adding top margin at the First Item from sparks List components  (Read 1261 times)
papachan
Systems Administrator
*****
Posts: 507


View Profile WWW
« on: 06/02/10, 09:22 »

Hey guys,

Did you have noticed how i can add a margin top on a Sparks Skins List Components? I i use the correct syntax

<s:layout>
    <s:Verticallayout paddingTop="10" />
</s:layout>

But this code, only add Padding top on the list item not on the first composant.

any idea welcome  Huh
---
dan
Logged

papachan
Systems Administrator
*****
Posts: 507


View Profile WWW
« Reply #1 on: 06/02/10, 09:37 »

Fortunately, I have found it.  Grin

<s:DataGroup itemRenderer="ListPostRenderer" verticalCenter="0"
    x.normal="0" y.normal="5" x.disabled="0" y.disabled="10" id="dataGroup"
     height="205" clipAndEnableScrolling="true">
         <s:layout>
            <s:VerticalLayout gap.normal="0" paddingTop="10"/>
         </s:layout>
</s:DataGroup>
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!