Hello Ravikanth, Thanx for your response. but
panel.setStyleAttribute("background-color", "red")
will change the background color of the panel. I tried
panel.getHeader().setStyleAttribute("background-color", "red") .
This is working fine. Instead of color, we can even give a image url
to set the background image for the panel header. I tried that and its
working fine for me. I thought that this would be usefull for some one
seeking the same solution.

On Dec 14, 7:32 pm, ravi kanth <[email protected]> wrote:
> Are you using GXT? If so, then this shud solve your problem.
> panel.setStyleAttribute("background-color", "red");
>
> 2009/12/14 mallapu deepak <[email protected]>
>
> > The color comes with the theme that you are currently using. However u can
> > change the color by changing the css files. check the CSS files once.
>
> > On Fri, Dec 4, 2009 at 3:54 PM, Phani <[email protected]> wrote:
>
> >> Hello, I am new to Gwt Ext. In My application, I want to change the
> >> color of one of my panel header. Can any body please tell me how can i
> >> do this? thanks in advance
>
> >> Regards,
> >> Phani
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups
> >> "GWT-Ext Developer Forum" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected]<gwt-ext%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/gwt-ext?hl=en.
>
> > --
> > Thanks and Regards,
> > Deepak Kumar Mallapu,
> > IT Associate,
> > Center for Education Technology and Learning Sciences,
> > IIIT-Hyderabad,
> > Mobile :9866976686.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "GWT-Ext Developer Forum" group.
>
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<gwt-ext%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/gwt-ext?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en.


Reply via email to