input (date)

This commit is contained in:
Face
2025-07-25 13:43:11 +03:00
parent c1e442bb83
commit 465200cd28
40 changed files with 1554 additions and 67 deletions

View File

@@ -20,8 +20,8 @@
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_c32on"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7g0pl"]
bg_color = Color(0.168627, 0.168627, 0.168627, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0v877"]
bg_color = Color(0.105882, 0.105882, 0.105882, 1)
corner_radius_top_left = 4
corner_radius_top_right = 4
corner_radius_bottom_right = 4
@@ -142,7 +142,7 @@ corner_radius_bottom_left = 4
[resource]
Button/styles/focus = SubResource("StyleBoxEmpty_c32on")
Button/styles/hover = SubResource("StyleBoxFlat_7g0pl")
Button/styles/hover = SubResource("StyleBoxFlat_0v877")
Button/styles/normal = SubResource("StyleBoxFlat_c32on")
CheckBox/constants/icon_max_width = 24
CheckBox/icons/checked = ExtResource("2_3k2jb")

View File

@@ -91,7 +91,7 @@ _data = {
}
[node name="Tab1" type="Control"]
custom_minimum_size = Vector2(350, 50)
custom_minimum_size = Vector2(0, 50)
layout_mode = 3
anchors_preset = 0
offset_right = 350.0
@@ -103,7 +103,7 @@ unique_name_in_owner = true
z_index = -2
clip_contents = true
layout_mode = 1
offset_right = 350.0
offset_right = 47.0
offset_bottom = 50.0
focus_mode = 0
mouse_default_cursor_shape = 2
@@ -124,9 +124,8 @@ text_overrun_behavior = 3
unique_name_in_owner = true
z_index = 1
layout_mode = 0
offset_left = 278.0
offset_left = -64.0
offset_top = 2.0
offset_right = 342.0
offset_bottom = 50.0
texture = ExtResource("3_q3baj")
@@ -134,9 +133,8 @@ texture = ExtResource("3_q3baj")
unique_name_in_owner = true
custom_minimum_size = Vector2(23, 23)
layout_mode = 0
offset_left = 8.0
offset_left = -23.0
offset_top = 13.0
offset_right = 31.0
offset_bottom = 36.0
texture = ExtResource("6_ib6pj")
expand_mode = 1
@@ -146,9 +144,8 @@ unique_name_in_owner = true
z_index = 2
custom_minimum_size = Vector2(34, 34)
layout_mode = 0
offset_left = 319.0
offset_left = -34.0
offset_top = 12.0
offset_right = 353.0
offset_bottom = 46.0
scale = Vector2(0.75, 0.75)
focus_mode = 0

View File

@@ -1,7 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://c7yay102a3b4c"]
[gd_scene load_steps=5 format=3 uid="uid://c7yay102a3b4c"]
[ext_resource type="Script" uid="uid://kv6ebscarj2e" path="res://Scripts/Tags/input.gd" id="1_input"]
[ext_resource type="Theme" uid="uid://bn6rbmdy60lhr" path="res://Scenes/Styles/BrowserText.tres" id="2_theme"]
[ext_resource type="PackedScene" uid="uid://b6c1twaog7hui" path="res://addons/DatePicker/DateButton.tscn" id="3_a88g6"]
[sub_resource type="ButtonGroup" id="ButtonGroup_06us3"]
@@ -21,6 +22,7 @@ size_flags_vertical = 0
script = ExtResource("1_input")
[node name="LineEdit" type="LineEdit" parent="."]
visible = false
layout_mode = 1
offset_right = 400.0
offset_bottom = 35.0
@@ -48,9 +50,13 @@ button_group = SubResource("ButtonGroup_06us3")
flat = true
[node name="ColorPickerButton" type="ColorPickerButton" parent="."]
visible = false
layout_mode = 0
offset_right = 83.0
offset_bottom = 35.0
toggle_mode = false
[node name="DateButton" parent="." instance=ExtResource("3_a88g6")]
layout_mode = 0
[connection signal="popup_closed" from="ColorPickerButton" to="." method="_on_color_picker_popup_closed"]