Results 1 to 5 of 5

Thread: How do you change the color of the ARROW in panels?

  1. #1
    Sencha User Ethan Long's Avatar
    Join Date
    Feb 2012
    Posts
    70
    Answers
    2
    Vote Rating
    1
      0  

    Default Answered: How do you change the color of the ARROW in panels?

    The default color is black as the picture shown here, I need to make it to some other color because our background is black so it cannot see, thanks!

    listbug2.gif

  2. Check out the DOM to see... Find the <div> with the x-anchor class.

  3. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    Check out the DOM to see... Find the <div> with the x-anchor class.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  4. #3
    Sencha User Ethan Long's Avatar
    Join Date
    Feb 2012
    Posts
    70
    Answers
    2
    Vote Rating
    1
      0  

    Default

    Ok I found the <div> but still do not know how to change the color in js code, below is the code I add a panel, I need to change the color of anchor to something else.

    var panel = new Ext.Panel({
    left: left,
    top: top,
    width: width,
    height: height,

    style: 'background: #333333;',
    layout: {
    type: 'vbox', // default hbox vbox fit
    align: 'stretch',
    animation: 'pop',
    },
    items: [
    ...........
    ],});

  5. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    You change it with CSS
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  6. #5
    Sencha User Ethan Long's Avatar
    Join Date
    Feb 2012
    Posts
    70
    Answers
    2
    Vote Rating
    1
      0  

    Default

    I'm not sure how to access child element using CSS (sorry a bit new to CSS and HTML5 can you provide an example?)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •