More info is in the ClientBundle dev guide:
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html
Thanks,
John LaBanca
jlabanca@google.com
-- Thanks,
John LaBanca
jlabanca@google.com
On Thu, Oct 28, 2010 at 8:38 AM, vsdev <vsommerfeld@googlemail.com> wrote:
I'm trying to style a GWT2.1 cell table. Unfortunately I couldn't find
any documentation on the default styles. So far all GWT widgets I
worked with had default styles like
.gwt-DecoratedStackPanel {
}
.gwt-DecoratedStackPanel .gwt-StackPanelItem {
}
.gwt-DecoratedStackPanel .gwt-StackPanelItem-selected {
}
etc.
I couldn't find any of that on the cell table, instead there were
styles like class="GL0PBETBKC GL0PBETBIC" etc. (generated by GWT I
suppose?) on the elements, So what I did was defining a style for the
table with myTable.setStyleName("gwt-CellTable"); and then simply
referring to the different table elements with normal css selectors
like
.gwt-CellTable{
}
.gwt-CellTable thead tr th{
}
.gwt-CellTable tbody tr td{
}
Sure that works, but isn't the way I want it. First I'd have to call
setStyleName on each table I create and additionally it is kind of
hard to give elements a different style, lets say, first and last
column with different background, first td in first row upperleft
corner rounded, put different colors for hovering etc.
Does anyone know how to achieve that - have "plausible" classes on the
elements of the table? Or better yet an example to study? Thanks so
much!
--
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.
No comments:
Post a Comment