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 8476109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:05:20+00:00 2026-06-10T18:05:20+00:00

I have a spark Window which contains a VGroup. Inside the VGroup are a

  • 0

I have a spark Window which contains a VGroup. Inside the VGroup are a couple of HGroups. What’s happening is that, in the label whose styleName is “toastBody”, if its text is too long then the ‘x’ closeButton gets pushed off the right edge of the component, and the text runs off the right edge as well. This even though I’ve set the VGroup’s left, top, and right, and have set paddingRight to 10 on the label.

  <s:VGroup minHeight="0"
                left="16" top="12" right="4">
        <s:HGroup width="100%" gap="45">
              <s:Label styleName="toastTitle"
                          id="titleLabel" width="100%" />
              <s:Button skinClass="skins.ToastCloseButtonSkin" id="closeButton"
                            buttonMode="true" useHandCursor="true"/>
        </s:HGroup>
        <s:HGroup>
              <s:BitmapImage left="10" top="16"
                                   source="assets/iconChatBubbleToastMsg.png" id="chatIcon"/>
              <s:Label styleName="toastBody"
                          id="bodyLabel"
                          paddingRight="10"/>
        </s:HGroup>

  </s:VGroup>

How can I fix this?

  • 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-10T18:05:22+00:00Added an answer on June 10, 2026 at 6:05 pm

    You can set a maxWidth on that label to prevent it from pushing off the right edge, it will start to wordwrap though.

     <s:Label styleName="toastBody"
                              id="bodyLabel"
                              paddingRight="10" maxWidth="800"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a group of spark label components within a VGroup. Is there a
I've created a skin that allows me to have two labels on a spark
Using ASP.NET MVC & Spark, I have a view that is listing a number
In my Flex (Flash Builder 4) Air application, I have a spark window ,
I have a spark DataGrid which has more rows than its size. I want
I have a window in which I want to add/remove component and resize the
I have a facebook app run inside an iframe. The problem is that if
I have used Spark panel to display the object inside a container. The panel
I have an AIR/Flex app that can have multiple windows (s:Window instances) open at
I have 2 spark labels next to each other. They are in a basic

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.