]> git.tdb.fi Git - r2c2.git/blob - data/newvehicledialog.ui
Better visualization for placing a train
[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         label "lbl_target";
29
30         row
31         {
32                 panel ""
33                 {
34                         style "group";
35
36                         layout
37                         {
38                                 margin
39                                 {
40                                         horizontal 0;
41                                         vertical 0;
42                                 };
43
44                                 row_spacing 0;
45                         };
46
47                         column
48                         {
49                                 toggle "tgl_loco_types"
50                                 {
51                                         style "pointer_left";
52                                         text "Loco";
53                                         exclusive true;
54                                         value true;
55                                 };
56
57                                 toggle "tgl_wagon_types"
58                                 {
59                                         style "pointer_left";
60                                         text "Wagn";
61                                         exclusive true;
62                                 };
63                         };
64                 };
65
66                 stack
67                 {
68                         list "lst_loco_types"
69                         {
70                                 view_size 10;
71                         };
72
73                         list "lst_wagon_types"
74                         {
75                                 visible false;
76                         };
77                 };
78         };
79
80         row
81         {
82                 button "btn_add"
83                 {
84                         text "Add";
85                 };
86         };
87 };
88
89 draghandle "";
90 constraint COPY_HEIGHT "lbl_title";
91 constraint LEFT_OF "btn_close";
92 expand true false;