search modal v1

This commit is contained in:
Matt Parker
2025-09-23 22:08:35 +10:00
parent dd06686f16
commit 6a95ea892c
7 changed files with 101 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
using Godot;
namespace SharpIDE.Godot.Features.Search;
public partial class SearchWindow : PopupPanel
{
}

View File

@@ -0,0 +1 @@
uid://bah6tmifl41ce

View File

@@ -0,0 +1,45 @@
[gd_scene load_steps=2 format=3 uid="uid://8lk0qj233a7p"]
[ext_resource type="Script" uid="uid://bah6tmifl41ce" path="res://Features/Search/SearchWindow.cs" id="1_ft33p"]
[node name="SearchWindow" type="PopupPanel"]
oversampling_override = 1.0
initial_position = 5
size = Vector2i(1200, 800)
visible = true
script = ExtResource("1_ft33p")
[node name="MarginContainer" type="MarginContainer" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 4.0
offset_top = 4.0
offset_right = -4.0
offset_bottom = -4.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 5
theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 5
theme_override_constants/margin_bottom = 5
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 43.615)
layout_mode = 2
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Find in Files"
[node name="Label2" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 14
text = " 30 matches in 5 files"
[node name="LineEdit" type="LineEdit" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
text = "Test"