Kamal,
I am thinking similar but I want to reuse the gwt-provided css
properties of components.
e.g; Buttons have button.css (css of gwt-ext) and from that I want to
use certain class.
I want to inherit some properties of gwt provided css and override
some of them into my css file according to requirement.
So how can I achieve it?
On Jul 28, 10:51 am, Kamal Chandana Mettananda
wrote:
> 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 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 Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---