bottom bar progress bar v1

This commit is contained in:
Matt Parker
2025-11-24 19:18:52 +10:00
parent 36592ba49e
commit 0cd7759315
3 changed files with 29 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ using Godot;
namespace SharpIDE.Godot.Features.BottomBar;
public partial class BottomBar : HBoxContainer
public partial class BottomBar : PanelContainer
{
}

View File

@@ -2,10 +2,34 @@
[ext_resource type="Script" uid="uid://dkeruijr43xlk" path="res://Features/BottomBar/BottomBar.cs" id="1_6bm5o"]
[node name="BottomBar" type="HBoxContainer"]
anchors_preset = 15
[node name="BottomBar" type="PanelContainer"]
custom_minimum_size = Vector2(0, 27)
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 1.0
anchor_bottom = 0.5
offset_top = -13.5
offset_bottom = 13.5
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_6bm5o")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_left = 8
theme_override_constants/margin_right = 8
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="Control" type="Control" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="ProgressBar" type="ProgressBar" parent="MarginContainer/HBoxContainer"]
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
size_flags_vertical = 4
theme_override_font_sizes/font_size = 6
indeterminate = true
editor_preview_indeterminate = false

View File

@@ -143,7 +143,7 @@ size_flags_horizontal = 3
theme_override_constants/separation = 4
theme_override_constants/minimum_grab_thickness = 10
theme_override_icons/grabber = SubResource("PlaceholderTexture2D_woo5i")
split_offset = 398
split_offset = 371
script = ExtResource("3_0ybuf")
metadata/_custom_type_script = "uid://kvnhndc3l6ih"