Re: CellList Style
hi , how does it work in case i added the same widget twice in a view ? i wanna add the same widget twice in a view with diffrent style ! like this , i will always get the second style i puted in the component ! thx for ur time :=) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qBEQf61ecp8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: CellList Style
On Wednesday, October 24, 2012 5:36:44 PM UTC+2, sana ben aissa wrote: hi , how does it work in case i added the same widget twice in a view ? i wanna add the same widget twice in a view with diffrent style ! like this , i will always get the second style i puted in the component ! See http://code.google.com/p/google-web-toolkit/issues/detail?id=6144 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Sp7IMWxqdWAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
CellList Style
I'm wanting to add a separator line between elements in my CellList. How do I do that. More generally, I'd like to see example of how to properly override styles in GWT. I have a CellTable, that I pass in custom Resources, however, it doesn't work if there is _any_ tables that don't use the customized resource... Seems problematic. TIA, J -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: CellList Style
GWT Classes Style extends CSSRource{ /* List of methods */ } GwtBundle extends ClientBundle{ @Source(someStyleSheet.css) Style getStyle(); } All you need to do now is extend GwtBundle and override the method that creates the style and point it at your new StyleSheet. MyBundle extends GwtBundle{ @Source(myCustomeStyleSheet) Style getStyle(); } Don't forget to do MyBundle.getStyle().ensureInjected(); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/TbzJAaym3lEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.