Hi Salvador I appreciate your help, it is working now! Thank you!
On Thu, Apr 23, 2009 at 11:47 PM, Salvador Diaz <[email protected]>wrote: > > call setStyleName("yourStyle") on the decorator panel, and define the > following rules in your css > .yourStyle .topLeft > .yourStyle .topRight > .yourStyle .bottomLeft > .yourStylel .bottomRight > > > On Apr 23, 5:38 pm, hezjing <[email protected]> wrote: > > Hi > > Thanks for the community, and that I'm able to modify the corners of the > > DecoratorPanel. > > > > I have been testing this by override the following default styles of the > > DecoratorPanel: > > .gwt-DecoratorPanel .topLeft > > .gwt-DecoratorPanel .topRight > > .gwt-DecoratorPanel .bottomLeft > > .gwt-DecoratorPanel .bottomRight > > > > This is OK if I have one style for all DecoratorPanels. > > > > Now that I have designed different set of corners (and different PNG > files). > > When run, the application will display the DecoratorPanels with different > > corners according to the conditions. > > > > How do I apply these style during runtime? > > > > It doesn't sound right to call addStyleName() since there is at least > four > > styles to be specified. > > > > Please help, thank you! > > > > -- > > > > Hez > > > -- Hez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
