Динамическое изменение цвета программы тёмное/светлое.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dgidt8lifm7xe"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://dgidt8lifm7xe"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://btvrqnnjjum20" path="res://table/set_toggle.gd" id="1_kvru5"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_f4oye"]
|
||||
|
||||
@@ -7,11 +9,14 @@
|
||||
[sub_resource type="Theme" id="Theme_odxqp"]
|
||||
CheckButton/styles/focus = SubResource("StyleBoxEmpty_t3fqw")
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_kvru5"]
|
||||
|
||||
[node name="LineEdit" type="LineEdit"]
|
||||
offset_right = 85.0
|
||||
offset_bottom = 27.0
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_f4oye")
|
||||
editable = false
|
||||
script = ExtResource("1_kvru5")
|
||||
|
||||
[node name="CheckButton" type="CheckButton" parent="."]
|
||||
layout_mode = 0
|
||||
@@ -20,3 +25,4 @@ offset_top = 1.0
|
||||
offset_right = 65.0
|
||||
offset_bottom = 25.0
|
||||
theme = SubResource("Theme_odxqp")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_kvru5")
|
||||
|
||||
Reference in New Issue
Block a user