summaryrefslogtreecommitdiff
path: root/toolkit/workben/layout/editor-normal.xml
blob: 7f0dc0b69e74d1a2e6c0c8be305501051e2b614c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>

<!-- Would be cool to have others Editor layouts (e.g. Glade-like with
     a window for each function). -->

<dialog xmlns="http://openoffice.org/2007/layout"
        xmlns:cnt="http://openoffice.org/2007/layout/container"
        id="dialog" title="Layout Editor" sizeable="true" >
    <vbox>
        <hbox>
            <min-size min-width="120" cnt:expand="false">
                <vbox>
                    <fixedtext label="Layout:" cnt:expand="false" />
                    <hbox>
                        <listbox id="layout-tree" has_border="true" />
                        <vbox cnt:expand="false">
                            <pushbutton id="layout-up-button" cnt:expand="false" />
                            <pushbutton id="layout-down-button" cnt:expand="false" />
                            <fixedtext cnt:expand="true" />
                            <pushbutton id="layout-remove-button" cnt:expand="false" />
                        </vbox>
                    </hbox>
                </vbox>
            </min-size>
            <min-size min-width="120">
                <vbox>
                    <fixedtext label="Preview:" cnt:expand="false" />
                    <vbox border="50">
                        <bin id="preview-box" />
                    </vbox>
                </vbox>
            </min-size>
            <min-size min-width="120" cnt:expand="false">
                <vbox>
                    <fixedtext label="Properties:" cnt:expand="false" />
                    <table id="properties-box" columns="3" />
                </vbox>
            </min-size>
        </hbox>
        <hfixedline cnt:expand="false" />
        <vbox cnt:expand="false">
            <fixedtext label="Create widgets:" cnt:expand="false" />
            <flow id="create-widget" homogeneous="true" spacing="2" />
            <fixedtext label="Create containers:" cnt:expand="false" />
            <flow id="create-container" homogeneous="true" spacing="2" />
        </vbox>
        <hbox cnt:expand="false">
            <vbox><fixedline /><fixedline /><fixedline /><fixedline /></vbox>
<!--            <pushbutton id="import-button" label="Import..." cnt:expand="false"/>-->
            <pushbutton id="export-button" label="Export (stdout)" cnt:expand="false"/>
        </hbox>
    </vbox>
</dialog>