mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-26 08:17:38 -04:00
sharper icons and text, prompt fixes, project settings changes
This commit is contained in:
parent
6a9bb0885b
commit
ec97bd1ea6
11 changed files with 95 additions and 20 deletions
|
@ -3,7 +3,7 @@
|
|||
[ext_resource type="Script" path="res://scripts/ui/search/prompt.gd" id="1_7xv44"]
|
||||
[ext_resource type="Resource" uid="uid://b1xvdym0qh6td" path="res://resources/gate_events.res" id="2_33m26"]
|
||||
[ext_resource type="LabelSettings" uid="uid://bo2334w4lf3ug" path="res://assets/styles/text.tres" id="3_rbghg"]
|
||||
[ext_resource type="Texture2D" uid="uid://byrcelmfy6r3l" path="res://assets/textures/search.svg" id="4_5kbr3"]
|
||||
[ext_resource type="Texture2D" uid="uid://d05w6jtfy01w2" path="res://assets/textures/clock.svg" id="4_lekwb"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_srt8r"]
|
||||
bg_color = Color(0.172549, 0.184314, 0.239216, 1)
|
||||
|
@ -15,7 +15,8 @@ corner_radius_bottom_left = 15
|
|||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_l81vq"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6fg0o"]
|
||||
content_margin_left = 40.0
|
||||
content_margin_left = 32.0
|
||||
content_margin_bottom = 2.0
|
||||
|
||||
[node name="prompt" type="Button" node_paths=PackedStringArray("prompt_text")]
|
||||
custom_minimum_size = Vector2(0, 32)
|
||||
|
@ -23,8 +24,6 @@ anchors_preset = 14
|
|||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_top = -20.0
|
||||
offset_bottom = 12.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_srt8r")
|
||||
|
@ -53,9 +52,9 @@ layout_mode = 1
|
|||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 12.0
|
||||
offset_left = 10.0
|
||||
offset_top = -8.0
|
||||
offset_right = 28.0
|
||||
offset_right = 26.0
|
||||
offset_bottom = 8.0
|
||||
grow_vertical = 2
|
||||
mouse_filter = 1
|
||||
|
@ -68,7 +67,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("4_5kbr3")
|
||||
texture = ExtResource("4_lekwb")
|
||||
expand_mode = 1
|
||||
|
||||
[connection signal="pressed" from="." to="." method="_on_button_pressed"]
|
||||
|
|
|
@ -339,6 +339,7 @@ search = NodePath("..")
|
|||
prompt_results = NodePath("Panel/VBoxContainer")
|
||||
|
||||
[node name="Panel" type="Panel" parent="Prompt" node_paths=PackedStringArray("search_le")]
|
||||
visible = false
|
||||
top_level = true
|
||||
layout_mode = 1
|
||||
anchors_preset = 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue