diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-03-11 09:37:35 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-03-11 09:37:35 +0000 |
commit | 10c45fb48b7aa8ce1355397d4a27a0ae4a845bc8 (patch) | |
tree | 1abdcf9c37939a9b649c50c3ebd3df9fcaf43b4a /src/com | |
parent | d51b351799305dbd364b63ad3ba0bbf11a97d3b4 (diff) | |
download | vaadin-framework-10c45fb48b7aa8ce1355397d4a27a0ae4a845bc8.tar.gz vaadin-framework-10c45fb48b7aa8ce1355397d4a27a0ae4a845bc8.zip |
fixes #1476
svn changeset:4021/svn branch:trunk
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/itmill/toolkit/terminal/Sizeable.java | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/terminal/Sizeable.java b/src/com/itmill/toolkit/terminal/Sizeable.java index b6dbb187ad..4d467d7784 100644 --- a/src/com/itmill/toolkit/terminal/Sizeable.java +++ b/src/com/itmill/toolkit/terminal/Sizeable.java @@ -157,7 +157,14 @@ public interface Sizeable { public void setHeightUnits(int units); /** - * TODO + * Sets the height of the component using String presentation. + * + * String presentation is similar to what is used in Cascading Style Sheets. + * Size can be length or percentage of available size. + * + * See <a + * href="http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-length">CSS + * spesification</a> for more details. * * @param height * in CSS style string representation @@ -165,7 +172,14 @@ public interface Sizeable { public void setHeight(String height); /** - * TODO + * Sets the width of the component using String presentation. + * + * String presentation is similar to what is used in Cascading Style Sheets. + * Size can be length or percentage of available size. + * + * See <a + * href="http://www.w3.org/TR/REC-CSS2/syndata.html#value-def-length">CSS + * spesification</a> for more details. * * @param width * in CSS style string representation |