I have inherited a GWT application that was written back in GWT's 1.x days. It has since been migrated to 2.4 but will only run in quirks mode. I am tasked with migrating it to 2.8 and making it run in standards mode. It is a challenge for me. I have years of Java experience but no GWT experience. The app relies heavily on HorizontalPanel and VerticalPanel which I am changing to FlowPanel. The app also uses VerticalSplitPanel which I am trying to replace with SplitLayoutPanel but can't get the splitters to show, even when this LOC "Window.alert("SplitterSize: " + rightPanel.getSplitterSize());" indicates 10px, which is what I am expecting. I have struggled with this and am wondering if I might be trying to do something not in SplitLayoutPanel's nature? Here is what my panel layout looks like (I am not using UIBinder). Hopefully downstream formatting won't make a mess of the layout.
-- Should this work, or am I doing something with SplitLayoutPanel that it was not designed for? TIA!
Harry
Root Panel (RootLayoutPanel)
RootWidget (extends FlowPanel)
Top Panel (FlowPanel)
hpPanel (FlowPanel)
cmdPanel (Composite)
vpPanel(FlowPanel)
rpPanel (SplitLayoutPanel)
listPanel (extends FlexTable)
detailPanel (extends Composite)
iconPanel (extends FlowPanel)
------------------------------------------
top panel |
------------------------------------------|
cmdPanel |. listPanel. |
| |
| |
|----- splitter here ----|
| |
| detailPanel. |
| |
|----- splitter here ----|
| |
| iconPanel. |
| |
------------------------------------------
-------------------------------------------
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment