]> git.tdb.fi Git - r2c2.git/blob - data/newvehicledialog.ui
Remove a queued block reservation if the block is released
[r2c2.git] / data / newvehicledialog.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 "Add vehicle";
18                 };
19
20                 split;
21
22                 action_button "btn_close" 0
23                 {
24                         style "red_cross";
25                 };
26         };
27
28         row
29         {
30                 panel ""
31                 {
32                         style "group";
33
34                         layout
35                         {
36                                 margin
37                                 {
38                                         horizontal 0;
39                                         vertical 0;
40                                 };
41
42                                 row_spacing 0;
43                         };
44
45                         column
46                         {
47                                 toggle "tgl_loco_types"
48                                 {
49                                         style "pointer_left";
50                                         text "Loco";
51                                         exclusive true;
52                                         value true;
53                                 };
54
55                                 toggle "tgl_wagon_types"
56                                 {
57                                         style "pointer_left";
58                                         text "Wagn";
59                                         exclusive true;
60                                 };
61                         };
62                 };
63
64                 stack
65                 {
66                         list "lst_loco_types"
67                         {
68                                 view_size 10;
69                         };
70
71                         list "lst_wagon_types"
72                         {
73                                 visible false;
74                         };
75                 };
76         };
77
78         row
79         {
80                 button "btn_add"
81                 {
82                         text "Add";
83                 };
84         };
85 };
86
87 draghandle "";
88 constraint COPY_HEIGHT "lbl_title";
89 constraint LEFT_OF "btn_close";
90 expand true false;