diff options
author | Artur Signell <artur.signell@itmill.com> | 2009-08-28 14:11:52 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2009-08-28 14:11:52 +0000 |
commit | 0bce8f9f64db10bae831036e9a2daa47a91d83c8 (patch) | |
tree | 4a5982485f70b107d689ea088892406b840a61e4 /src/com/vaadin/demo | |
parent | 06995b4714b5238c0da832165be8ea60c249738e (diff) | |
download | vaadin-framework-0bce8f9f64db10bae831036e9a2daa47a91d83c8.tar.gz vaadin-framework-0bce8f9f64db10bae831036e9a2daa47a91d83c8.zip |
Fixed typos
svn changeset:8583/svn branch:6.1
Diffstat (limited to 'src/com/vaadin/demo')
-rw-r--r-- | src/com/vaadin/demo/sampler/features/layouts/CssLayoutsExample.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/com/vaadin/demo/sampler/features/layouts/CssLayoutsExample.java b/src/com/vaadin/demo/sampler/features/layouts/CssLayoutsExample.java index 08077e4888..b7938452da 100644 --- a/src/com/vaadin/demo/sampler/features/layouts/CssLayoutsExample.java +++ b/src/com/vaadin/demo/sampler/features/layouts/CssLayoutsExample.java @@ -13,9 +13,9 @@ public class CssLayoutsExample extends VerticalLayout { setMargin(true);
/*
- * Note that adding inline style like this is a very bad programming
- * habit in common. The correct place for css is in theme. We do it here
- * to keep css in java code for demonstration purposes.
+ * Note that adding inline style like this is a very, VERY bad
+ * programming habit. The correct place for CSS is in the theme. We do
+ * it here to keep the CSS in the java code for demonstration purposes.
*/
Label demostyle = new Label(
"<style>"
@@ -32,16 +32,16 @@ public class CssLayoutsExample extends VerticalLayout { panel.setStyleName("floatedpanel");
panel.setWidth("30%");
panel.setHeight("370px");
- panel.addComponent(new Label("This panel is 30% width "
- + "and 370px height(defined on server side) "
+ panel.addComponent(new Label("This panel is 30% wide"
+ + "and 370px high (defined on the server side) "
+ "and floated right (with custom css). "
- + "Try resizesing browser window to see "
- + "how black boxes (floated to left) "
- + "behave. Every third of them has red "
- + "color to demonstrate dynamic css injection. "));
+ + "Try resizing the browser window to see "
+ + "how the black boxes (floated left) "
+ + "behave. Every third of them has colored text "
+ + "to demonstrate the dynamic css injection."));
final Label bottomCenter = new Label(
- "I'm 3 inches wide footer at the bottom "
+ "I'm a 3 inches wide footer at the bottom "
+ "of the layout (and centered unless I'm in IE6)");
bottomCenter.setSizeUndefined(); // disable 100% default width
bottomCenter.setStyleName("footer");
@@ -56,7 +56,7 @@ public class CssLayoutsExample extends VerticalLayout { if (c instanceof Brick) {
brickCounter++;
if (brickCounter % 3 == 0) {
- // make every third brick red and bold
+ // make every third brick colored and bold
return "color: #ff6611; font-weight:bold;";
}
}
|