e.g. you should just use '#FF0000' instead of 'red' setProperty() adds a CSS-style property to a widget, so anything working in CSS is working there to :-)
On 8 Apr., 17:41, Vik <[email protected]> wrote: > hie thanks > > and how can i specify the color in hex value? > > Thankx and Regards > > Vik > Founderwww.sakshum.comwww.sakshum.blogspot.com > > > > On Thu, Apr 8, 2010 at 8:54 PM, kozura <[email protected]> wrote: > > Sorry, my bad, that was my own wrapper around the actual call: > > > widget.getElement().getStyle().setProperty("backgroundColor", "red") > > > On Apr 8, 9:06 am, Vik <[email protected]> wrote: > > > hie > > > > i could not find any such method to set the background color of the text > > box > > > red. please advise > > > > Thankx and Regards > > > > Vik > > > Founderwww.sakshum.comwww.sakshum.blogspot.com > > > > On Wed, Apr 7, 2010 at 10:45 PM, kozura <[email protected]> wrote: > > > > setStyleProperty(widget, backgroundColor, "red"); > > > > > You might use a popupPanel or something similar if you also want to > > > > display a message. > > > -- > > 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%2bunsubsĀ[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en.- Zitierten Text > >ausblenden - > > - Zitierten Text anzeigen - -- 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.
