make component
This commit is contained in:
@@ -1,30 +1,7 @@
|
|||||||
[gd_scene load_steps=4 format=3 uid="uid://dr41a4isv0dd5"]
|
[gd_scene load_steps=3 format=3 uid="uid://dr41a4isv0dd5"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://dkeruijr43xlk" path="res://Features/BottomBar/BottomBar.cs" id="1_6bm5o"]
|
[ext_resource type="Script" uid="uid://dkeruijr43xlk" path="res://Features/BottomBar/BottomBar.cs" id="1_6bm5o"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cnla64hcar6dr" path="res://Features/BottomBar/RunningTasksDisplay.tscn" id="2_5swca"]
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5swca"]
|
|
||||||
content_margin_left = 2.0
|
|
||||||
content_margin_top = 2.0
|
|
||||||
content_margin_right = 2.0
|
|
||||||
content_margin_bottom = 2.0
|
|
||||||
bg_color = Color(0.25032055, 0.48309153, 0.56277037, 0.5529412)
|
|
||||||
corner_radius_top_left = 6
|
|
||||||
corner_radius_top_right = 6
|
|
||||||
corner_radius_bottom_right = 6
|
|
||||||
corner_radius_bottom_left = 6
|
|
||||||
corner_detail = 6
|
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6bm5o"]
|
|
||||||
content_margin_left = 2.0
|
|
||||||
content_margin_top = 2.0
|
|
||||||
content_margin_right = 2.0
|
|
||||||
content_margin_bottom = 2.0
|
|
||||||
bg_color = Color(0.22352941, 0.57254905, 0.7921569, 1)
|
|
||||||
corner_radius_top_left = 6
|
|
||||||
corner_radius_top_right = 6
|
|
||||||
corner_radius_bottom_right = 6
|
|
||||||
corner_radius_bottom_left = 6
|
|
||||||
corner_detail = 6
|
|
||||||
|
|
||||||
[node name="BottomBar" type="PanelContainer"]
|
[node name="BottomBar" type="PanelContainer"]
|
||||||
custom_minimum_size = Vector2(0, 27)
|
custom_minimum_size = Vector2(0, 27)
|
||||||
@@ -50,12 +27,5 @@ layout_mode = 2
|
|||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
|
|
||||||
[node name="ProgressBar" type="ProgressBar" parent="MarginContainer/HBoxContainer"]
|
[node name="ProgressBar" parent="MarginContainer/HBoxContainer" instance=ExtResource("2_5swca")]
|
||||||
custom_minimum_size = Vector2(150, 0)
|
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_vertical = 4
|
|
||||||
theme_override_font_sizes/font_size = 6
|
|
||||||
theme_override_styles/background = SubResource("StyleBoxFlat_5swca")
|
|
||||||
theme_override_styles/fill = SubResource("StyleBoxFlat_6bm5o")
|
|
||||||
indeterminate = true
|
|
||||||
editor_preview_indeterminate = false
|
|
||||||
|
|||||||
@@ -0,0 +1,51 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://cnla64hcar6dr"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5swca"]
|
||||||
|
content_margin_left = 2.0
|
||||||
|
content_margin_top = 2.0
|
||||||
|
content_margin_right = 2.0
|
||||||
|
content_margin_bottom = 2.0
|
||||||
|
bg_color = Color(0.25032055, 0.48309153, 0.56277037, 0.5529412)
|
||||||
|
corner_radius_top_left = 6
|
||||||
|
corner_radius_top_right = 6
|
||||||
|
corner_radius_bottom_right = 6
|
||||||
|
corner_radius_bottom_left = 6
|
||||||
|
corner_detail = 6
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6bm5o"]
|
||||||
|
content_margin_left = 2.0
|
||||||
|
content_margin_top = 2.0
|
||||||
|
content_margin_right = 2.0
|
||||||
|
content_margin_bottom = 2.0
|
||||||
|
bg_color = Color(0.22352941, 0.57254905, 0.7921569, 1)
|
||||||
|
corner_radius_top_left = 6
|
||||||
|
corner_radius_top_right = 6
|
||||||
|
corner_radius_bottom_right = 6
|
||||||
|
corner_radius_bottom_left = 6
|
||||||
|
corner_detail = 6
|
||||||
|
|
||||||
|
[node name="HBoxContainer" type="HBoxContainer"]
|
||||||
|
anchors_preset = 14
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
offset_top = -11.5
|
||||||
|
offset_bottom = 11.5
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
size_flags_vertical = 4
|
||||||
|
|
||||||
|
[node name="ProgressLabel" type="Label" parent="."]
|
||||||
|
layout_mode = 2
|
||||||
|
text = "Loading Solution"
|
||||||
|
vertical_alignment = 1
|
||||||
|
|
||||||
|
[node name="ProgressBar" type="ProgressBar" parent="."]
|
||||||
|
custom_minimum_size = Vector2(150, 0)
|
||||||
|
layout_mode = 2
|
||||||
|
size_flags_vertical = 4
|
||||||
|
theme_override_font_sizes/font_size = 6
|
||||||
|
theme_override_styles/background = SubResource("StyleBoxFlat_5swca")
|
||||||
|
theme_override_styles/fill = SubResource("StyleBoxFlat_6bm5o")
|
||||||
|
indeterminate = true
|
||||||
|
editor_preview_indeterminate = false
|
||||||
Reference in New Issue
Block a user