]> git.tdb.fi Git - r2c2.git/blob - data/trainview.ui
Add maximum speed to BR 23
[r2c2.git] / data / trainview.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                 split;
18
19                 action_button "btn_close" 0
20                 {
21                         style "red_cross";
22                 };
23         };
24
25         row
26         {
27                 column
28                 {
29                         toggle "tgl_forward"
30                         {
31                                 text "Fwd";
32                                 value true;
33                         };
34
35                         panel "pnl_mode"
36                         {
37                                 style "group";
38                                 layout
39                                 {
40                                         margin
41                                         {
42                                                 horizontal 0;
43                                                 vertical 0;
44                                         };
45                                         row_spacing 0;
46                                 };
47
48                                 column
49                                 {
50                                         toggle "tgl_roof"
51                                         {
52                                                 style "pointer_left";
53                                                 text "Roof";
54                                                 exclusive true;
55                                         };
56
57                                         toggle "tgl_side"
58                                         {
59                                                 style "pointer_left";
60                                                 text "Side";
61                                                 exclusive true;
62                                                 value true;
63                                         };
64
65                                         toggle "tgl_head"
66                                         {
67                                                 style "pointer_left";
68                                                 text "Head";
69                                                 exclusive true;
70                                         };
71                                 };
72                         };
73                 };
74
75                 image "img_view";
76         };
77 };
78
79 draghandle "";
80 expand true false;
81 constraint COPY_HEIGHT "lbl_title";
82 constraint LEFT_OF "btn_close";