Results 1 to 6 of 6

Thread: FormPanel frame false background color

  1. #1
    Sencha User
    Join Date
    May 2008
    Location
    Porto, Portugal
    Posts
    38

    Default FormPanel frame false background color

    Hi!

    I have a FormPanel that I want to define frame as false. ut I want to keep the background color equal to frame true. I didn't find out how to achieve this. Can someone help me please.

    Thank you

  2. #2
    Sencha User
    Join Date
    Mar 2008
    Location
    Brazil
    Posts
    76

    Default

    You can use :
    Code:
      bodyStyle : {
                backgroundColor : '#dfe8f6'
            }

  3. #3
    Sencha User
    Join Date
    May 2008
    Location
    Porto, Portugal
    Posts
    38

    Default

    Hi Fabio,

    Thank you for replying.
    But that solves part of the problem, because if I change the theme, the color of that formpanel will still be the default blue.
    I need something more generic...

  4. #4
    Sencha User
    Join Date
    Mar 2008
    Location
    Brazil
    Posts
    76

    Default

    ok... you can add an aditional css, like:
    Code:
    bodyCssClass : 'x-panel-mc'

  5. #5
    Sencha User
    Join Date
    May 2008
    Location
    Porto, Portugal
    Posts
    38

    Default

    Thank you fabio!
    That's the kind of thing I was looking for, but it doesn't work. The form remains white.

  6. #6
    Sencha User
    Join Date
    May 2008
    Location
    Porto, Portugal
    Posts
    38

    Default solved

    Hi!
    I used baseCls : 'x-panel-mc' instead of bodyCssClass and it works.
    Thank you.

Posting Permissions

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