xref: /AOO41X/main/toolkit/workben/layout/align.xml (revision ff0525f24f03981d56b7579b645949f111420994)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23<dialog xmlns="http://openoffice.org/2007/layout"
24        xmlns:cnt="http://openoffice.org/2007/layout/container"
25        title="Align Test" optimumsize="true" has_border="true" sizeable="true" moveable="true">
26    <vbox>
27    <!-- Ver Top -->
28    <hbox>
29        <align halign="0" valign="0">
30        <pushbutton label="Top Left" />
31        </align>
32        <align halign="0.5" valign="0">
33        <pushbutton label="Top Middle"  />
34        </align>
35        <align halign="1" valign="0">
36        <pushbutton label="Top Right"  />
37        </align>
38    </hbox>
39    <!-- Ver Middle -->
40    <hbox>
41        <align halign="0" valign="0.5">
42        <pushbutton label="Middle Left" />
43        </align>
44        <align halign="0.5" valign="0.5">
45        <pushbutton label="Middle Middle" />
46        </align>
47        <align halign="1" valign="0.5">
48        <pushbutton label="Middle Right" />
49        </align>
50    </hbox>
51    <!-- Ver Bottom -->
52    <hbox>
53        <align halign="0" valign="1">
54        <pushbutton label="Bottom Left" />
55        </align>
56        <align halign="0.5" valign="1">
57        <pushbutton label="Bottom Middle" />
58        </align>
59        <align halign="1" valign="1">
60        <pushbutton label="Bottom Right" />
61        </align>
62    </hbox>
63    </vbox>
64</dialog>
65