]> git.tdb.fi Git - r2c2.git/blob - data/newtraindialog.ui
Render a sky in the upper hemisphere of a view's background
[r2c2.git] / data / newtraindialog.ui
1 layout
2 {
3         margin
4         {
5                 top 2;
6                 horizontal 8;
7                 bottom 6;
8         };
9 };
10
11 column
12 {
13         row
14         {
15                 label "lbl_title"
16                 {
17                         text "New train";
18                 };
19
20                 split;
21
22                 action_button "btn_close" 0
23                 {
24                         style "red_cross";
25                 };
26         };
27
28         row
29         {
30                 label "lbl_protocol"
31                 {
32                         text "Protocol";
33                 };
34
35                 dropdown "drp_protocol";
36         };
37
38         row
39         {
40                 label "lbl_address"
41                 {
42                         text "Address:";
43                 };
44                 constraint COPY_WIDTH "lbl_protocol";
45                 
46                 entry "ent_address"
47                 {
48                         edit_size 8 1;
49                 };
50         };
51
52         row
53         {
54                 label "lbl_name"
55                 {
56                         text "Name:";
57                 };
58                 constraint COPY_WIDTH "lbl_address";
59
60                 entry "ent_name"
61                 {
62                         edit_size 30 1;
63                 };
64         };
65
66         row
67         {
68                 label "lbl_loco_type"
69                 {
70                         text "Locomotive:";
71                 };
72                 constraint COPY_WIDTH "lbl_name";
73
74                 dropdown "drp_loco_type"
75                 {
76                 };
77         };
78
79         row
80         {
81                 split;
82
83                 action_button "btn_ok" 1
84                 {
85                         style "green";
86                         text "Ok";
87                 };
88         };
89 };
90
91 draghandle "";
92 expand true false;
93 constraint COPY_HEIGHT "lbl_title";
94 constraint LEFT_OF "btn_close";