Moved theme determination

This commit is contained in:
tsommer committed 2023-12-08 22:56:37 +01:00
1 parent 002c054e11
commit c4e27d2550
3 files changed
+12 -12

No files matched your search

+1 -3
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=3 format=3 uid="uid://d0x0yv7nevod7"]
[gd_scene load_steps=2 format=3 uid="uid://d0x0yv7nevod7"]
[ext_resource type="Script" path="res://scenes/BtnIcon.cs" id="1_b787p"]
[ext_resource type="Theme" uid="uid://uqhultm05f5a" path="res://theme/ui_theme_dark.tres" id="2_8n123"]
[node name="btn_icon" type="MarginContainer"]
theme_override_constants/margin_left = 6
@@ -13,4 +12,3 @@ script = ExtResource("1_b787p")
[node name="btn" type="Button" parent="."]
unique_name_in_owner = true
layout_mode = 2
theme = ExtResource("2_8n123")
@@ -1,8 +1,9 @@
[gd_scene load_steps=4 format=3 uid="uid://qm7ovimcfc3h"]
[gd_scene load_steps=5 format=3 uid="uid://qm7ovimcfc3h"]
[ext_resource type="Texture2D" uid="uid://csxeqym474oxu" path="res://assets/icons/icons8-language-512.png" id="1_1ya62"]
[ext_resource type="PackedScene" uid="uid://d0x0yv7nevod7" path="res://scenes/BtnIcon.tscn" id="2_gp72s"]
[ext_resource type="Texture2D" uid="uid://cp33pga3vuk5k" path="res://assets/icons/icons8-new-window-512.png" id="3_4v5hm"]
[ext_resource type="Theme" uid="uid://uqhultm05f5a" path="res://theme/ui_theme_dark.tres" id="3_7idnl"]
[node name="frame" type="Control"]
layout_mode = 3
@@ -11,6 +12,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("3_7idnl")
[node name="center" type="CenterContainer" parent="."]
layout_mode = 1