From 6fd0fe2f2d3ff950f7a0b3f133efc9d19e3e9d46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marko=20Gr=C3=B6nroos?= Date: Tue, 13 Jan 2009 14:24:47 +0000 Subject: [PATCH] Toolkit 5.3.0 RC8. svn changeset:6523/svn branch:trunk --- WebContent/release-notes.html | 20 ++++++++++++++++++-- build/VERSION.properties | 2 +- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/WebContent/release-notes.html b/WebContent/release-notes.html index ea5ee4f2cf..ea663600f7 100644 --- a/WebContent/release-notes.html +++ b/WebContent/release-notes.html @@ -88,8 +88,9 @@ of layout components since the beta versions 5.2.x and before.

debug window if you encounter problems with relative size.
  • VerticalLayout and HorizontalLayout obsolete OrderedLayout
  • -
  • ExpandLayout deprecated
  • -
  • Default changes changed
  • +
  • Layout cell alignment has changed
  • +
  • ExpandLayout deprecated
  • +
  • Default sizes have changed
  • OrderedLayout deprecated

    @@ -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 setOrientation() any longer, though such need is rare anyhow.

    +

    Layout Cell Alignment Changed

    + +

    Previously, the alignment of components within layout cells was set with +setComponentAlignment() with constants for OrderedLayout (now +VerticalLayout and HorizontalLayout) and GridLayout separately, such +as OrderedLayout.ALIGNMENT_TOP_LEFT. Now the method takes constants defined in +Alignment.

    + +

    For example, aligning a component "top left" is now:

    + +
    mylayout.setComponentAlignment(mycomponent, Alignment.TOP_LEFT);
    + +

    You can also give an Alignment object as a parameter and give horizontal and +vertical alignment separately with bitmask parameters.

    +

    Handling of relative sizes has changed, ExpandLayout deprecated

    diff --git a/build/VERSION.properties b/build/VERSION.properties index c2873be6a5..59571aa5be 100644 --- a/build/VERSION.properties +++ b/build/VERSION.properties @@ -1 +1 @@ -version=5.3.0-rc7 +version=5.3.0-rc8 -- 2.39.5