aaaarrrgh, them layout panels are driving me bonkers!!

50 views
Skip to first unread message

Elhanan Maayan

unread,
Jul 18, 2011, 11:08:31 AM7/18/11
to google-we...@googlegroups.com
if there's one thing haven't figured out completely it's the layouts, i mean, i wanna use the DockLayoutPanel in the ui designer for example with only 3 panels inside it (one containing a tree, and other textbox and the last a table) , and yet i can't see the panels i've inserted.

what's more if i try to create a class extending DockLayoutPanel the designer falls, with illigal argurment exception,
so i guess i have to contain it, but in what? Compsoite?

i need lots lots and lots of code samples for this one.

Mauro Bertapelle

unread,
Jul 18, 2011, 11:24:38 AM7/18/11
to Google Web Toolkit
Don't forget to change RootPanel with RootLayoutPanel

jd

unread,
Jul 18, 2011, 12:08:28 PM7/18/11
to google-we...@googlegroups.com
Also, make sure you are in standards mode with a DOCTYPE of <!DOCTYPE html>

Eric Clayberg

unread,
Jul 19, 2011, 10:00:11 AM7/19/11
to google-we...@googlegroups.com
See the GWT Developer's Guide discussion on Creating Custom Widgets. Subclassing Composite is the correct approach.


Reply all
Reply to author
Forward
0 new messages