On 6 oct, 21:43, SD <[email protected]> wrote:
> Hi,
>
> I am new to GWT. I am writing a sample Gwt application using Google
> plugin for Eclipse.
> In my application I have the code,
>
> DateBox box = new DateBox();
> RootPanel.get().add(box);
>
> In hosted mode, I am getting the datebox and on clicking I am getting
> the datepicker also. But the CSS is not working for datepicker. It is
> not having any theme.
>
> I had commented the line,
> <inherits name='com.google.gwt.user.theme.standard.Standard'/>
> in 'gwt.xml' since I have my own css file.
>
> How can I use my own css and still get the correct theme for
> DatePicker and DateBox ?
Copy/paste it (and optionally tweak it) from the Standard (or any
other theme) CSS.
You'll find the standards.css in gwt-user.jar in com/google/gwt/user/
theme/standard/public/gwt/standard/
or you could temporarily add the <inherit/> back to get the
standards.css copied into the compiler's output (within war/yourapp/
gwt/standard).
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---