commit | 318f0fea6d0b02bc5665a53f2622c42a0825a0eb | [log] [tgz] |
---|---|---|
author | gwt.team.knorton <gwt.team.knorton@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Fri May 25 21:27:16 2007 +0000 |
committer | gwt.team.knorton <gwt.team.knorton@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Fri May 25 21:27:16 2007 +0000 |
tree | 4a24958310f1b2cf17eb02eb67ca4308fb94411a | |
parent | be6c981ec6b2e4430ae415dd679bb9185852fa75 [diff] |
Fixes some problems with the split panel example. Adds an explicit height for the HorizontalSplitPanel and removes an unneeded css margin that was not necessary and caused overflow. Review by: jgw git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1158 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/samples/kitchensink/src/com/google/gwt/sample/kitchensink/client/Panels.java b/samples/kitchensink/src/com/google/gwt/sample/kitchensink/client/Panels.java index 12abb8a..60e08b0 100644 --- a/samples/kitchensink/src/com/google/gwt/sample/kitchensink/client/Panels.java +++ b/samples/kitchensink/src/com/google/gwt/sample/kitchensink/client/Panels.java
@@ -145,7 +145,7 @@ "splitter look a bit more interesting... ")); initWidget(hSplit); - hSplit.setWidth("100%"); + hSplit.setSize("100%", "400px"); } public void onShow() {
diff --git a/samples/kitchensink/src/com/google/gwt/sample/kitchensink/public/KitchenSink.css b/samples/kitchensink/src/com/google/gwt/sample/kitchensink/public/KitchenSink.css index 4de0fc4..b6df3b1 100644 --- a/samples/kitchensink/src/com/google/gwt/sample/kitchensink/public/KitchenSink.css +++ b/samples/kitchensink/src/com/google/gwt/sample/kitchensink/public/KitchenSink.css
@@ -304,7 +304,6 @@ .gwt-HorizontalSplitPanel { border: 8px solid #C3D9FF; - margin: 8px; } .gwt-HorizontalSplitPanel .splitter {