Control/reduce the space between labels 2 StackLayout: TopToBottom

I find that there is a huge vertical space between 2 label in a TopToBottom stack layout.

Is there a way to reduce or control this space?

Thank you!

{Of container
layout: {StackLayout}
direction: LayoutOrientation.TopToBottom
}
{Label
Multiline: false
text: "test Label 1.
verticalAlignment: VerticalAlignment.Center
textStyle.fontSize: FontSize.Small
textStyle.color: Color.DarkCyan
textStyle {}
Base: SystemDefaults.TextStyles.TitleText
fontWeight: FontWeight.Normal
size: 40
}
}
{Label
Multiline: true
text: 'test Label 2 '.
verticalAlignment: VerticalAlignment.Center
textStyle {}
Base: SystemDefaults.TextStyles.TitleText
fontWeight: FontWeight.Normal
size: 40
}
}
}

Put them in a container of DockLayout (one upstairs, one downstairs) and control the height of the container to control the distance between the two labels

Tags: BlackBerry Developers

Similar Questions

  • How to reduce the space between icons on the desktop?

    I want to reduce the space between icons

    Right-click on the desktop, select "Display", uncheck "auto arrange" and snap to grid "if they are checked, then move the icons in the desired position.
    I hope it works for you.

  • How to reduce the space between two lines in a panelformlayout who is lain in the panelbox?

    Mr President.

    I have a panelbox in which I put a panelformlayout which have two rows as below

    panelformspace.png

    I want to reduce the space between inputfield first and second inputfield.

    Thus, this second inputfield closer to the first inputfield

    Respect of

    You can define simple = true in the first entry field (name), sorround who on the ground with panelLabelAndMessage and add the second inputField (address) about to end of panelLabelAndMessage.

    In fact, you can add more or less space with spacer between them and panelGroupLayout with horizontal layout as a facet of the end child

  • How to reduce the space between the section number and title of section in TOC

    Hello

    I want to reduce the space between the section number and title of section in TOC.

    can someone guide me on how to do this:

    4.PNG

    Thank you

    Try to do it from the style of paragraph (bullets and numbering) options

  • Reduce the space between the Research/Action Bar and IR header

    I know, it's a small thing - the space between the Research/Action Bar and interactive report column headings.  But when you want / must include paging at the top of a report, the extra space looks quite great.  Here is an example based on the theme 21 Scarlet.

    WS: APEX_EXAMPLES_01

    Demo / demo

    Request 62650, Page 3

    Is there a way to reduce that extra space?

    Thank you

    Howard

    Hello

    I have added to the inline CSS page

    #apexir_DATA_PANEL{
    top:-20px;
    position:relative;
    }
    

    It seems to work OK with Firefox. Can not test other browsers.

    Kind regards
    Jari

  • How to reduce the space between text and Image

    I am trying to wrap text around an irregular shape in InDesign CS4. I used the pen tool to mark the outlines of the image, crop the image, then selected the outline of the pen and pasted the image into the outline. With parameters defined for the TextWrap is in this dialog box, text wrapping seems in good shape on the right side, but he has too much space on the left side.

    textwrap0.png

    If I try to reduce the space even further away, it is only on the right side of the image, not the left:

    textwrap1.png

    It's the same thing for all my irregular images where I try to wrap the text. How can I reduce the white space to the left of the picture?

    You can use direct selection and the pen tool to change the skin path in repositioning of anchor points and guidelines and adding more anchorpoints etc. In this way, you can move the path of the scarf to the inside a little more to allow the best fit of the text.  To lock breaks in a bit more on a line-by-line, take into account settings composer to composer Adobe single-line (Control Panel menu)

    You can also try to allow hyphenation. With the text aligned to the box on the left will always left a little look gappy I think. However allowing hyphenation will get InDesign to cut the breakpoint to the left of the object with the text, as well as at the end of the line wrapping.

    Also if you change the alignment for Justified, you will also get a better result.

    On a related side note, I had usually advice my trainees do not to wrap the text on the left and right sides, when the object with the scarf is placed in the middle of a sentence. It makes reading more difficult phrases.

    Hope this helps,

    CARI

    --

    Twitter.com/carijansen

  • Can someone show me an easy way to reduce the space between lines of text

    Hi, can someone show me an easy way to reduce the spaces in line in my text. Currently, they number about twice as big as I would like. I hope it's just a setting in the CSS that's easy to change even if I think I have tried everything. I hope you can help, thanks in advance. -Jason-

    Hi thanks to everyone for their contribution. I finally solved the problem thanks to a previous post. "Murray" posted this info and it worked like a charm.

    Open the page in DW. View the CSS with WINDOW Panel | CSS styles, click
    Click the new CSS rule at the bottom of the unified CSS panel, click
    the Middle option (Tag) button, enter "p" (without the quotes) in the tag: field,.
    Click this radio button at the bottom of the document, and then click OK.

    The margins are styles of box model, so select the category box and in the
    Margin field (you can leave the check box selected), enter a zero. Click OK,
    and you have created a rule of CSS stylesheet on the page that should look like
    -

    Geddit?

    Thanks again... until next time,.

    Jason

  • It is Possible to reduce the space between the lines after < CR > a text block?

    Hello

    I paste text without ANY special models in my custom CSS layout.

    I would have less space between the line after a < CR >.

    see you soon,

    Dreamer101.1

    Using the following style rules

    p, {br}
    margin: 0;
    padding: 0;
    }

    and look at the result.

    I hope this helps

    Ben

  • How can I reduce the space between the headlines in Firefox by DW?

    Hi all

    I have a Web site up and ongoing delivery, I can send the URL to anyone who believes he or she will be able to help me.

    Look great in Internet Explorer Web pages.  However, in Firefox, there are a lot of gaps unslight between the main title, subtitle, etc.  And I tried to know why it is like that, in scrutinizing the coding part of DW, but I can't see the code that influence it.  Does anyone have an idea?

    I have to add that I use a template for all these Web pages, and I put in place boxes within this model.  I feel that the way I implemented the editable regions may be part of the problem, so I'll go and test this idea.

    In the meantime, if anyone of you have experienced this problem in Firefox (but not employment insurance) and have suggestions, I would really appreciate it.

    Thank you

    Alexy

    Hello Sandra,.

    Thanks for providing the link. Actually, I was right the first time. Your problem is actually compatibilties browser. Firefox has another way to interpret the paragraph-

    ...

    Tags. By default, it adds some more space.

    I insert a screenshot here when I edited your page in Dreamweaver:

    Directions for use:

    1. Highlight the Group of text that has a problem - "you need... products? * ».
    2. Go to the Inspector of tags (lower part) grid where you can see blurry tags like, ,... and "BOLD" tags .
    3. Click right on the tag, then choose to remove the tag. In other words, that it is a paragraph tag using the class 'blurb '.
    4. After that, you will see that the formatting for the text highlighted group has been deleted.
    5. While the texts are always highlighted, go to the menu Insert > layout objects > Div tag
    6. In the class of input text box, type the word text of presentation and click OK.
    7. Save the page and preview it in Firefox again.

    Feel free to reply to this post for updates.

    Thank you and have a nice day.

    Kind regards

    Christine R.

    Adobe in North America support

  • How to change the space between folder icon and the text on the personal toolbar?

    I have some files in the personal toolbar with just a letter to indicate what they are, but on the theme that I use, the letter is too far from the record, it belongs to and partially falls under following folder icon. I don't want to increase the space between all the icons to show the full letter, as this decreases the amount of icons that you can have in the toolbar. Instead, I want to reduce the space between the file and the text belonging to him, so he is right next to him instead of 5 pixels away.

    I found various entries to change the padding and margins in userChrome.css, but it's always around the icon, I don't know where to look to close the space between the icon and the corresponding text.

    Any help would be greatly appreciated, thank you.

    Did you check the value of the left margin of the text?

    You can set if necessary negative margin values.

    #PlacesToolbarItems .toolbarbutton-text { margin-left: -2px !important; }

    Add .bookmark-item [container] If this enough for the items in the folder

    #PlacesToolbarItems .bookmark-item[container] .toolbarbutton-text { margin-left: -2px !important; }
  • How to remove the spaces between the textfield in a horizontal layout - ADF Mobile

    snip.png

    Please tell me how to reduce the width of the 1st two textfields whose number of 971 and 50 and increase the width of the textfield "mobile".

    My code is given below

    < amx:panelGroupLayout id = "gp1" layout = "horizontal" >

    < amx:inputText value = "971" hintText = "Country Code" id = "it3" inputType = 'number' simple = "true" inlineStyle = "width: 70% margin-left: 5px" / >

    < amx:inputText value = "50" hintText = "Code" id = 'it8' inputType = 'number' simple = "true" inlineStyle = "width: 70% of margin-left: 5px" / >

    < amx:inputText value = "#{pageFlowScope.mobile_number}" hintText = 'Mobile' id = "it6" inputType = 'number' simple = "true" inlineStyle = "width: 100%" / > "

    < / amx:panelGroupLayout >.

    Width of the 1st two fields should very less that we will get that 2 or 3 numbers. Where are mobile, the width must be more as we enter the 10 numbers.

    This means that for example alignment must be as shown in the picture below. And the space between them must be equal and uniform as shown in the image below.

    pic.png

    Please help me someone

    Try using rowLayout as:

    
          
            
          
          
            
          
          
            
          
    
    
  • How can I change the color of the spaces between the buttons of menu

    Hello

    I have problems by changing the color of the spaces between the menu buttons.

    The spaces between the color buttons lighter must be the same color as the buttons.

    Please note that some buttons are voluntarily lighter, some are darker.

    Screen Shot 2016-05-31 at 16.46.17.png

    Help would be greatly appreciated.

    Thank you.

    Dmitry

    Select the Menu container. Open the control panel of the spacing. The horizontal gutter value 0.

    You can always add padding for menu items to create extra space.

    David

    Creative muse

  • Decrease the space between the ball and the penalty

    Y at - it no control that will decrease the space between the balls and the penalties? It looks good on the office, but given all three browsers there is too much space. I use RoboHelp 11 with WebHelp as my main page layout.

    Is based on the HTML code of the ball lines and the corresponding CSS applied. The chips are HTML lists or just text?

  • Remove the space between the title and the content

    Does anyone know how to remove or reduce empty space between the header content and written in the body?  My position is only 22px but always creates a huge gap or empty space above and below.  I don't know if you need this little information but I also insert an image of a horizontal line after the title that is normally as underscore.  I don't think it makes a difference, but can you please, please, please help by providing a code?  Thank you.

    Looks like the margins of default browser for me.

    Try to add to your CSS.

    H4 {margin-bottom: 0}

    p {margin-top: 0}

    Nancy O.

  • Remove the space between the items in list box

    Hello

    I have a list box, I need to change the space between each item in the drop-down list.

    (ex)

    test

    Test1

    test2

    I need it to change the space between the test and vice versa test1.

    Kind regards

    Roman papail

    You must specify the list control rowHeight for example

                                  
    

    If this post answers your question or assistance, please mark it as such.

Maybe you are looking for

  • How to enable text search in my work Microsoft Office account with 12 Firefox

    I just upgraded to 12 of Firefox, and I have a problem. When I connect to my Microsoft Outlook work e-mail account remotely, the new Firefox does even not recognize that there is a search text field where I can type in my Outlook window. It happens e

  • R400 laptop power adapter

    Hi all Just after some advice. I need to purchase a power supply for a laptop R400. I was wondering what's the difference between the 65W model and the 90W. Time to load faster? The 65W is $A30 and 90W $A75 65W both looking pretty good at the moment.

  • Titles from keep disappearing under my photos

    Hi, I'm running Windows XP, and in the "My pictures" folder, I have more 17 000 files.  He keeps screwing me however.  A minute that the names of the files are under them, the other, they are all gone. I read the Zack answer on how to solve this prob

  • "Dolby" TravelMate P653M driver needed

    Now another problem arose... "Failed to start the audio driver of Dolby. Please restart your computer or reinstall the driver if the problem persists. » I manually checked each device listed in the Device Manager to confirm that the latest drivers ar

  • Win XP: Lost menu of the Explorer bar. A running fix, XP_ToolbarFix.exe without result.

    Win XP SP 3 I had just done a messy uninstall a Pinnacle product.And then I lost the menu bar off the coast of Solution Explorer. Search pages in Support of MS, I found XP_ToolbarFix.exe.  This implementation does not restore my menus. Can I get assi