diff options
Diffstat (limited to 'documentation/layout/layout-orderedlayout.asciidoc')
-rw-r--r-- | documentation/layout/layout-orderedlayout.asciidoc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/documentation/layout/layout-orderedlayout.asciidoc b/documentation/layout/layout-orderedlayout.asciidoc index 593bb5ef45..13fc82ad41 100644 --- a/documentation/layout/layout-orderedlayout.asciidoc +++ b/documentation/layout/layout-orderedlayout.asciidoc @@ -70,25 +70,25 @@ For example: [source, html] ---- <!-- Use margin and spacing --> -<v-vertical-layout size-full margin spacing> - <v-label><b>Hello!</b> - How are you?</v-label> +<vaadin-vertical-layout size-full margin spacing> + <vaadin-label><b>Hello!</b> - How are you?</vaadin-label> <!-- Use expand ratio --> - <v-horizontal-layout size-full :expand> + <vaadin-horizontal-layout size-full :expand> ... <!-- Use expand ratio --> - <v-table _id="mytable" caption="My Table" + <vaadin-grid _id="mygrid" caption="My Grid" size-full :expand/> - </v-horizontal-layout> + </vaadin-horizontal-layout> - <v-horizontal-layout width-full> + <vaadin-horizontal-layout width-full> ... <!-- Use alignment --> - <v-button :right><b>OK</b></v-button> - </v-horizontal-layout> -</v-vertical-layout> + <vaadin-button :right><b>OK</b></vaadin-button> + </vaadin-horizontal-layout> +</vaadin-vertical-layout> ---- [[layout.orderedlayout.spacing]] |