1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    37
    Vote Rating
    0
    meliniak is on a distinguished road

      0  

    Default Whiteness

    Whiteness


    Hi there,

    I'm having problem with the look&feel in my app. As you can see in the attached screenshot, the background of the widgets is white, instead of being blue as it should be. I'm using very same widgets in other part of my application and they are displayed correctly. I compared css styles in the same elements using firebug in these two widgets, and it turned out that there are no differences between them. Did anyone came across such behaviour?
    Attached Images

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    There will probably one widget in between that has a white background set. You should try to reproduce this in a small, standalone testcase that impements EntryPoitn and i will tell you which widget it is.

    For example a TabPanel makes a white background.

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Posts
    37
    Vote Rating
    0
    meliniak is on a distinguished road

      0  

    Default


    Damn you're fast sven. I will try to track down that widget first, thanks.

  4. #4
    Sencha User
    Join Date
    Oct 2010
    Posts
    37
    Vote Rating
    0
    meliniak is on a distinguished road

      0  

    Default


    Indeed, TabPanel was involved in that behaviour. How would you recommend setting the TabPanel's background the same color as the ContentPanel's background color?

  5. #5
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I would make tabpanel background color transparent with css. Another approach would be to simple set the correct background color to your tabpanel.

  6. #6
    Sencha User
    Join Date
    Oct 2010
    Posts
    37
    Vote Rating
    0
    meliniak is on a distinguished road

      0  

    Default


    Thanks

  7. #7
    Sencha User
    Join Date
    Sep 2011
    Location
    Leipzig, Germany
    Posts
    75
    Vote Rating
    1
    A.Rothe is on a distinguished road

      0  

    Default


    Define a CSS rule in your own CSS file and overwrite the default rule from gxt-all.css:

    .x-tab-panel-body {
    background-color: transparent;
    }

    André

  8. #8
    Sencha User
    Join Date
    May 2013
    Posts
    1
    Vote Rating
    0
    Vorpertin is on a distinguished road

      0  

    Default


    Yeah some time there are lots of problem of this type in an application. Because freeware thing may not be long lasting. So We have to contact to google. Definately there is a solution of it.

Thread Participants: 3