Hello,

the new layout panels SplitLayout, DockLayout etc do not mark their
elements with css classes. As a consequence, if you want to style them
with custom css, it is actually impossible. The only option is to
inject the styles directly in the code but you cannot use stylesheets
based styles.

I saw a message somewhere that the developers wanted to kick out the 2
release first before reworking the CSS.

My proposal is to mark all elements with css classes.

Sample:
<div class="gwt-SplitLayoutPanel>
 <div class="gwt-north">..</div>
<div class="gwt-center">..</div>
</div>

Every element can now be precisely styled using something like
.gwt-SplitLayoutPanel > gwt-north{
..
}

As not all browser support the > selector, it could be better to use
gwt-SplitLayOutPanel-north instead of gwt-north.

Best Regards

Sebastian Hennebrueder
http://www.laliluna.de
-- 
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-tool...@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.


Reply via email to