Generally what we do is; set the style name in Java class and do the changes in the CSS file.
http://lkamal.blogspot.com/2007/08/add-css-style-for-gwt-widgets.html Isn't that what you are thinking of? --------------------------------------- Kamal Mettananda On Tue, Jul 28, 2009 at 11:14 AM, caps <[email protected]> wrote: > > Hello all, > > I am facing too much trouble in formatting the components of the > application. > > I have decided to take maximum advantage of CSS. > > /* > * Idea is, In java class just "add component to the panel or page -> > apply style class" that's it > * All other properties that can be set via style sheet should be > defined in style class only not > * in your java class. > */ > > I want to define common CSS properties for all components (panel, > page, button, etc...). > > The reason behind is as application growing design issues are come up > very often. > > > > Please help me in how can I reuse the property classed defined in css > gwt-ext(ext-all.css etc.) style sheets > > Please suggest optimal ways toi achieve this? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
