01ea3af253
Apply Godot 4.6 automated conversion: renames Spatial.translate->position, margin_*->offset_*, tool->@tool, .empty()->.is_empty(), DynamicFont->FontFile, onready->@onready, export()->@export, and many more. 127 files changed by the tool. Manual fixes still required for: - godot_db_manager plugin (incompatible APIs: WindowDialog, Tabs, etc.) - lod plugin (Spatial -> Node3D renames) - ResourceLoader.load_interactive removed -> load_threaded_request - OS.set_window_fullscreen removed -> DisplayServer - Viewport.set_size_override removed Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
61 lines
1.7 KiB
Plaintext
61 lines
1.7 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://addons/godot_db_manager/dlgs/edit_string_dlg.gd" type="Script" id=1]
|
|
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_14.tres" type="FontFile" id=2]
|
|
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_12.tres" type="FontFile" id=3]
|
|
|
|
[node name="edit_string_dlg" type="Window"]
|
|
anchor_right = 0.430625
|
|
anchor_bottom = 0.423333
|
|
focus_next = NodePath("v_layout/text")
|
|
theme_override_fonts/title_font = ExtResource( 3 )
|
|
window_title = "Edit string"
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": true
|
|
}
|
|
|
|
[node name="v_layout" type="VBoxContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="edit_text_btns" type="HBoxContainer" parent="v_layout"]
|
|
offset_right = 689.0
|
|
offset_bottom = 30.0
|
|
custom_minimum_size = Vector2( 0, 30 )
|
|
|
|
[node name="text" type="TextEdit" parent="v_layout"]
|
|
offset_top = 34.0
|
|
offset_right = 689.0
|
|
offset_bottom = 334.0
|
|
custom_minimum_size = Vector2( 0, 300 )
|
|
theme_override_fonts/font = ExtResource( 2 )
|
|
caret_blink = true
|
|
|
|
[node name="btns" type="HBoxContainer" parent="v_layout"]
|
|
offset_top = 338.0
|
|
offset_right = 689.0
|
|
offset_bottom = 368.0
|
|
custom_minimum_size = Vector2( 0, 30 )
|
|
theme_override_constants/separation = 200
|
|
alignment = 1
|
|
|
|
[node name="ok_btn" type="Button" parent="v_layout/btns"]
|
|
offset_left = 144.0
|
|
offset_right = 244.0
|
|
offset_bottom = 30.0
|
|
custom_minimum_size = Vector2( 100, 0 )
|
|
theme_override_fonts/font = ExtResource( 3 )
|
|
text = "OK"
|
|
|
|
[node name="cancel_btn" type="Button" parent="v_layout/btns"]
|
|
offset_left = 444.0
|
|
offset_right = 544.0
|
|
offset_bottom = 30.0
|
|
custom_minimum_size = Vector2( 100, 0 )
|
|
theme_override_fonts/font = ExtResource( 3 )
|
|
text = "Cancel"
|