Hi,
I want to replace either gwt-DialogBox .Caption with my own style or
modify the contents of gwt-DialogBox .Caption. I dont want to replace all
the other default styles associated with the GWT Dialog box. Is there a way
to do this?
thanks,
Lakshmi
Hi,
You can set the your own style name as you needed.
You just have to call setStyleName(String) method.
http://lkamal.blogspot.com/2007/08/add-css-style-for-gwt-widgets.html
HTH,
Kamal Mettananda
On Wed, Aug 12, 2009 at 9:53 AM, lakshmi thyagarajan
tlakshmipr...@gmail.com wrote:
Hi,
Hi Kamal,
I tried setting the styles that way. But it replaces all the styles
associated with the GWT Dialog box. I want to change only the 'Caption'
style and not the rest.
thanks,
Lakshmi
On Tue, Aug 11, 2009 at 9:30 PM, Kamal Chandana Mettananda lka...@gmail.com
wrote:
Hi,
You can set
Have you tried the addStyleName(String) method? That may help you.
http://google-web-toolkit.googlecode.com/svn/javadoc/1.4/com/google/gwt/user/client/ui/UIObject.html#addStyleName(java.lang.String)
---
Kamal Mettananda
http://lkamal.blogspot.com
On Wed,