diff options
author | Matti Tahvonen <matti@vaadin.com> | 2018-04-27 13:13:42 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2018-04-27 13:13:42 +0300 |
commit | 0ff985da0fc2f3372380dbf55711908f8168a549 (patch) | |
tree | f0f773c6ca64bf356630ffec5e5808f8f747c0bd /documentation/layout | |
parent | 8306f9b60a0a83ed00d1f3738d34961abb7be487 (diff) | |
download | vaadin-framework-0ff985da0fc2f3372380dbf55711908f8168a549.tar.gz vaadin-framework-0ff985da0fc2f3372380dbf55711908f8168a549.zip |
Updated to use non-deprecated API (#10855)
* Update layout-orderedlayout.asciidoc
Diffstat (limited to 'documentation/layout')
-rw-r--r-- | documentation/layout/layout-orderedlayout.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/layout/layout-orderedlayout.asciidoc b/documentation/layout/layout-orderedlayout.asciidoc index b937042ccc..8dc153bc06 100644 --- a/documentation/layout/layout-orderedlayout.asciidoc +++ b/documentation/layout/layout-orderedlayout.asciidoc @@ -152,7 +152,7 @@ optional spacing). [source, java] ---- HorizontalLayout fittingLayout = new HorizontalLayout(); -fittingLayout.setWidth(Sizeable.SIZE_UNDEFINED, 0); // Default +fittingLayout.setWidthUndefined(); // Default, can be omitted fittingLayout.setSpacing(false); // Compact layout fittingLayout.addComponent(new Button("Small")); fittingLayout.addComponent(new Button("Medium-sized")); |