Re: Button look and feel
or you can have your custom style for that button and attach it using
setStyleName("<stylename>");
this will solve your problem.
--
Aditya
-- --
Aditya
On Sat, Jun 26, 2010 at 2:44 AM, Jim Douglas <jdouglas@basis.com> 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 <tak...@gmail.com> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home