Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9084823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T21:05:38+00:00 2026-06-16T21:05:38+00:00

I have a Spark form with horizontal layout and I would like to reduce

  • 0

I have a Spark form with horizontal layout and I would like to reduce the top and bottom vertical padding.
Neighter using the paddingBottom/paddingTop on the HorizontalLayout nor using the paragraphSpaceAfter/paragraphSpaceBefore of the FormItem reduces the vertical space before and after the form.

<s:Form width="100%" height="50%" fontSize="15">
    <s:layout>
        <s:HorizontalLayout  verticalAlign="middle"  gap="3" paddingBottom="0" paddingTop="0">
        </s:HorizontalLayout>
    </s:layout>
    <s:FormItem   > 
        <mx:DateField id="selDateFrom" formatString="DD/MM/YYYY" selectedDate="{new Date()}">
        </mx:DateField>
    </s:FormItem>
    <s:FormItem > 
        <mx:DateField id="selDateTo" formatString="DD/MM/YYYY" >
        </mx:DateField>
    </s:FormItem>
</s:Form>

Can someone help me?

Davide

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T21:05:39+00:00Added an answer on June 16, 2026 at 9:05 pm

    I create a custom FormSkin like this one and it works:

      <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" 
            xmlns:s="library://ns.adobe.com/flex/spark" 
            xmlns:fb="http://ns.adobe.com/flashbuilder/2009" 
            alpha.disabled="0.5">
        [...]
        <s:Group id="contentGroup" showErrorSkin="true" showErrorTip="true" 
                 left="0" right="0" top="0" bottom="0">
            <s:layout>
                <s:FormLayout gap="7"/>
            </s:layout>
        </s:Group>
      </s:Skin>
    

    Thanks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have spark.components.TileGroup that contains buttons. I would like the buttons to appear like
I have the following code in a partial view (using Spark): <span id=selectCount>0</span> video(s)
I have a view like this in my Flex mobile Application: <s:View xmlns:fx=http://ns.adobe.com/mxml/2009 xmlns:s=library://ns.adobe.com/flex/spark
I have layout with two forms. I'm using scroller but scrollbars don't align to
I have a web form in SPARK which allow the editing of a Facility
Before I begin, I would like to point out that I have honestly and
I have developed a library in CodeIgniter and would like to call a function
I have 2 spark labels next to each other. They are in a basic
... while still enabling it scroll? I have a Spark List running in a
I have a problem with Spark. I have compiled assembly with views, located in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.