or you can have your custom style for that button and attach it using
setStyleName("<stylename>");this will solve your problem. -- Aditya On Sat, Jun 26, 2010 at 2:44 AM, Jim Douglas <[email protected]> wrote: > Chris -- > > PushButton is a styled DIV, but Button is a standard HTML button > object. You want to use Button, and override the default gwt-Button > style. > > > http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/Button.html > > On Jun 25, 3:50 am, Takapa <[email protected]> wrote: > > Hi, > > > > I have been using GWT for around 18 months via Smart GWT but have > > decided to create a pure GWT project but having a few hiccups. > > > > I'm having a seemingly trivial problem with look and feel at the > > moment. When I create a button it is coloured grey to white with a > > gradient fill. I just want a regular HTML button that matches my OS > > standard buttons. Can anyone tell me how to specify this either > > programatically or via CSS. > > > > Thanks, > > > > Chris > > -- > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.
