]> source.dussan.org Git - vaadin-framework.git/commitdiff
Toolkit 5.3.0 RC8.
authorMarko Grönroos <magi@iki.fi>
Tue, 13 Jan 2009 14:24:47 +0000 (14:24 +0000)
committerMarko Grönroos <magi@iki.fi>
Tue, 13 Jan 2009 14:24:47 +0000 (14:24 +0000)
svn changeset:6523/svn branch:trunk

WebContent/release-notes.html
build/VERSION.properties

index ea5ee4f2cf1c7ff583b58e90a4b457121bb77f11..ea663600f71cd8090c72797fac3f9cecbf40fcdd 100644 (file)
@@ -88,8 +88,9 @@ of layout components since the beta versions 5.2.x and before.</p>
        debug window if you encounter problems with relative size.</i></li>
        <li><b>VerticalLayout</b> and <b>HorizontalLayout</b> obsolete <b>
        <s>OrderedLayout</s></b></li>
-       <li><b>ExpandLayout</b> deprecated</li>
-       <li>Default changes changed</li>
+    <li>Layout cell alignment has changed</li>
+       <li><b><s>ExpandLayout</s></b> deprecated</li>
+       <li>Default sizes have changed</li>
 </ul>
 
 <h3>OrderedLayout deprecated</h3>
@@ -102,6 +103,21 @@ tidier as you don't have to give the orientation as an ugly parameter to
 the constructor. You won't be able to change the orientation with <tt>setOrientation()</tt>
 any longer, though such need is rare anyhow.</p>
 
+<h3>Layout Cell Alignment Changed</h3>
+
+<p>Previously, the alignment of components within layout cells was set with
+<i>setComponentAlignment()</i> with constants for <b><s>OrderedLayout</s></b> (now
+<b>VerticalLayout</b> and <b>HorizontalLayout</b>) and <b>GridLayout</b> separately, such
+as <tt>OrderedLayout.ALIGNMENT_TOP_LEFT</tt>. Now the method takes constants defined in
+<b>Alignment</b>.</p>
+
+<p>For example, aligning a component "top left" is now:</p>
+
+<pre>mylayout.setComponentAlignment(mycomponent, Alignment.TOP_LEFT);</pre>
+
+<p>You can also give an <b>Alignment</b> object as a parameter and give horizontal and
+vertical alignment separately with bitmask parameters.</p>
+
 <h3 id="HandlingofrelativesizeshavechangedExpandLayoutdeprecated">Handling
 of relative sizes has changed, ExpandLayout deprecated</h3>
 
index c2873be6a5fe1c074300382d3ca9da1799911af7..59571aa5be6375d0c1fa8d52620ab26067f56882 100644 (file)
@@ -1 +1 @@
-version=5.3.0-rc7
+version=5.3.0-rc8