xref: /AOO41X/main/toolkit/workben/layout/boxtest.xml (revision 4674bdb91461123a1e666fbbe3a35b3cb2811bf3)
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="Box Test" optimumsize="true" has_border="true" sizeable="true" moveable="true">
26    <vbox>
27      <table>
28        <vbox>
29        <hbox cnt:expand="false" cnt:fill="false">
30            <pushbutton label="XML Left"
31                        cnt:expand="false" cnt:fill="false"/>
32            <pushbutton label="XML Middle"
33                                cnt:expand="true" cnt:fill="false"/>
34            <pushbutton label="XML Right"
35                                cnt:expand="true" cnt:fill="true"/>
36            </hbox>
37        <hbox cnt:expand="true" cnt:fill="false">
38            <pushbutton label="XML Left"
39                        cnt:expand="false" cnt:fill="false"/>
40                    <pushbutton label="XML Middle"
41                                cnt:expand="true" cnt:fill="false"/>
42                    <pushbutton label="XML Right"
43                                cnt:expand="true" cnt:fill="true"/>
44            </hbox>
45        <hbox cnt:expand="true" cnt:fill="true">
46            <pushbutton label="XML Left"
47                        cnt:expand="false" cnt:fill="false"/>
48                    <pushbutton label="XML Middle"
49                                cnt:expand="true" cnt:fill="false"/>
50                    <pushbutton label="XML Right"
51                                cnt:expand="true" cnt:fill="true"/>
52            </hbox>
53        </vbox>
54    </table>
55    </vbox>
56</dialog>
57