-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathexample.ui
More file actions
67 lines (53 loc) · 1.98 KB
/
example.ui
File metadata and controls
67 lines (53 loc) · 1.98 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
$C = "../Common.ui";
@SaveButtonStyle = TextButtonStyle(
Default: (Background: #3a7bd5, LabelStyle: (FontSize: 16, TextColor: #ffffff, RenderBold: true, HorizontalAlignment: Center, VerticalAlignment: Center)),
Hovered: (Background: #4a8be5, LabelStyle: (FontSize: 16, TextColor: #ffffff, RenderBold: true, HorizontalAlignment: Center, VerticalAlignment: Center)),
Pressed: (Background: #2a6bc5, LabelStyle: (FontSize: 16, TextColor: #ffffff, RenderBold: true, HorizontalAlignment: Center, VerticalAlignment: Center))
);
Group {
Anchor: (Width: 400, Height: 350);
Background: #1a1a2e(0.95);
Label {
Text: "Test Label";
Style: (FontSize: 18, TextColor: #ffffff, RenderBold: true, HorizontalAlignment: Center);
Anchor: (Top: 10, Left: 10, Right: 10);
}
LayoutMode: Top;
Padding: (Full: 20);
Label #Title {
Text: "Distance Settings";
Anchor: (Height: 40);
Style: (FontSize: 24, TextColor: #ffffff, HorizontalAlignment: Center);
}
Label #Subtitle {
Text: "Configure distance values";
Anchor: (Height: 25);
Style: (FontSize: 14, TextColor: #888888, HorizontalAlignment: Center);
}
Group { Anchor: (Height: 15); }
Label #HorizontalLabel {
Text: "Horizontal Distance:";
Anchor: (Height: 25);
Style: (FontSize: 16, TextColor: #cccccc);
}
$C.@TextField #HorizontalDistanceInput {
Anchor: (Height: 40);
PlaceholderText: "Enter horizontal distance...";
}
Group { Anchor: (Height: 15); }
Label #VerticalLabel {
Text: "Vertical Distance:";
Anchor: (Height: 25);
Style: (FontSize: 16, TextColor: #cccccc);
}
$C.@TextField #VerticalDistanceInput {
Anchor: (Height: 40);
PlaceholderText: "Enter vertical distance...";
}
Group { Anchor: (Height: 20); }
TextButton #SaveButton {
Anchor: (Height: 45);
Text: "Save Changes";
Style: @SaveButtonStyle;
}
}