add theming support, fix ui issues, add ui scaling option
This commit is contained in:
parent
61806723ba
commit
1ced41d096
18 changed files with 259 additions and 49 deletions
|
@ -1,9 +1,8 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://dtkqaw5533rxy"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://dtkqaw5533rxy"]
|
||||
|
||||
[ext_resource type="StyleBox" uid="uid://d17amc25o63p1" path="res://UI/Themes/MovementsPanelOverride.tres" id="1_d1xev"]
|
||||
[ext_resource type="Script" uid="uid://tn3aaldu7mm2" path="res://Scripts/MovementRow.gd" id="1_rm5t0"]
|
||||
[ext_resource type="Texture2D" uid="uid://cn5xdrxdv622h" path="res://UI/SmallX.png" id="2_e7anl"]
|
||||
[ext_resource type="Texture2D" uid="uid://d007317123e27" path="res://UI/SmallLock.png" id="3_ldhn8"]
|
||||
[ext_resource type="Texture2D" uid="uid://cn5xdrxdv622h" path="res://UI/TransportControls/SmallX.png" id="2_e7anl"]
|
||||
[ext_resource type="Texture2D" uid="uid://d007317123e27" path="res://UI/TransportControls/SmallLock.png" id="3_ldhn8"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rm5t0"]
|
||||
bg_color = Color(0, 1, 0, 1)
|
||||
|
@ -71,7 +70,7 @@ theme_override_styles/pressed = SubResource("StyleBoxFlat_ldhn8")
|
|||
toggle_mode = true
|
||||
icon = ExtResource("3_ldhn8")
|
||||
|
||||
[node name="MovementsBG" type="Panel" parent="."]
|
||||
[node name="MovementsBG" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
|
@ -79,7 +78,8 @@ anchor_bottom = 1.0
|
|||
offset_left = 264.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = ExtResource("1_d1xev")
|
||||
theme_type_variation = &"MovementBG"
|
||||
color = Color(0.0941176, 0.0941176, 0.0941176, 1)
|
||||
|
||||
[node name="InvisibleMask" type="Control" parent="MovementsBG"]
|
||||
clip_contents = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue