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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:54:31+00:00 2026-05-21T06:54:31+00:00

I have a mx.components.List component with a bunch of custom styles: <mx:Style> .dropDownListStyle {

  • 0

I have a mx.components.List component with a bunch of custom styles:

<mx:Style>
    .dropDownListStyle
    {
        border-style: solid;
        corner-radius: 4;
    }
</mx:Style>

I’m creating the list in AS:

_dropDown = new List();
...
_dropDown.styleName = "dropDownListStyle";

The List is then added as a popup with PopUpManager:

PopUpManager.addPopUp( _dropDown, this );

The problem is that the corners of the newly created popup are not rounded. I found that border-style is needed in order to get the effect, but adding this property didn’t help. I’m building the project with Flex 4.1, but the List and its parent are MX components and it’s a lot of work to migrate them to Spark.

Any ideas how can I get rounded corners? Thanks in advance!

  • 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-05-21T06:54:32+00:00Added an answer on May 21, 2026 at 6:54 am

    List components (neither mx, nor spark) do not have the corner-radius style defined.
    you should consider overriding the list component, an implementing that style, or a much easier way, put your list without any borders into a container that can set its corner-radius, and pop up that component:

    /*Box, Canvas, Group...*/
    .dropDownListHolderStyle { 
        corner-radius: 4;
        background-color: #FFFFFF;
        border-color: #FFFFFF;
        border-style: solid;
        border-weight: 1;
        padding-bottom: 2;
        padding-top: 2;
        padding-left: 2;
        padding-right: 2;
    }
    /*List*/
    .dropDownListStyle {
        background-color: #FFFFFF;
    }
    

    and the component:

    <s:VGroup id='_dropDownPopup' styleName='dropDownListHolderStyle' [...]>
        <s:List id='_dropDown' styleName='dropDownListStyle' [...] />
    </s:VGroup>
    

    […]

    PopUpManager.addPopUp( _dropDownPopup, this );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom component, that contains a list of another components. If I
A bunch of dotnet framework components use a DataSource component. I have an object
I have a spark.components.List component on which I would like the vertival scroll to
I have a list component on the stage in an AS3 movie. I populate
I have a s:List component. I want to handle a click event to know
I have a problem with an list-component on the sencha touch 2 framework. My
I have created navigaton view using Sencha touch 2. Navigation view has list component
I'm using dhtmlx Gantt Chart UI component which have task list and graphical chart.
I have a page-scoped component, which has an instance variable List with data, which
Some Flash components have the method setStyle(style:String, value:Object). I wonder where/if I can find

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.