1. #1
    Sencha User Ethan Long's Avatar
    Join Date
    Feb 2012
    Posts
    70
    Vote Rating
    1
    Answers
    2
    Ethan Long is on a distinguished road

      0  

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

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Check out the DOM to see... Find the <div> with the x-anchor class.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User Ethan Long's Avatar
    Join Date
    Feb 2012
    Posts
    70
    Vote Rating
    1
    Answers
    2
    Ethan Long is on a distinguished road

      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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    Answers
    3566
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You change it with CSS
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  6. #5
    Sencha User Ethan Long's Avatar
    Join Date
    Feb 2012
    Posts
    70
    Vote Rating
    1
    Answers
    2
    Ethan Long is on a distinguished road

      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?)

Thread Participants: 1

Tags for this Thread