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>
83 lines
2.2 KiB
Plaintext
83 lines
2.2 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_14.tres" type="FontFile" id=1]
|
|
[ext_resource path="res://addons/godot_db_manager/dlgs/new_db_dlg.gd" type="Script" id=2]
|
|
[ext_resource path="res://addons/godot_db_manager/assets/fnt/roboto_12.tres" type="FontFile" id=3]
|
|
|
|
[node name="new_db_dlg" type="Window"]
|
|
visible = true
|
|
anchor_right = 0.257
|
|
anchor_bottom = 0.1
|
|
offset_right = 0.799988
|
|
focus_next = NodePath("v_layout/db_info/db_edt")
|
|
focus_mode = 2
|
|
theme_override_fonts/title_font = ExtResource( 1 )
|
|
exclusive = true
|
|
window_title = "New database (max 16 characters)"
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_horizontal_guides_": [ 90.0781 ],
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="v_layout" type="VBoxContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
theme_override_constants/separation = 20
|
|
alignment = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="db_info" type="HBoxContainer" parent="v_layout"]
|
|
offset_top = 11.0
|
|
offset_right = 412.0
|
|
offset_bottom = 38.0
|
|
alignment = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="db_lbl" type="Label" parent="v_layout/db_info"]
|
|
offset_left = 18.0
|
|
offset_top = 5.0
|
|
offset_right = 89.0
|
|
offset_bottom = 22.0
|
|
theme_override_fonts/font = ExtResource( 1 )
|
|
text = "DB name: "
|
|
|
|
[node name="db_edt" type="LineEdit" parent="v_layout/db_info"]
|
|
offset_left = 93.0
|
|
offset_right = 393.0
|
|
offset_bottom = 27.0
|
|
custom_minimum_size = Vector2( 300, 20 )
|
|
theme_override_fonts/font = ExtResource( 1 )
|
|
caret_blink = true
|
|
caret_blink_interval = 0.5
|
|
|
|
[node name="buttons" type="HBoxContainer" parent="v_layout"]
|
|
offset_top = 58.0
|
|
offset_right = 412.0
|
|
offset_bottom = 79.0
|
|
theme_override_constants/separation = 80
|
|
alignment = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="ok_btn" type="Button" parent="v_layout/buttons"]
|
|
offset_left = 66.0
|
|
offset_right = 166.0
|
|
offset_bottom = 21.0
|
|
custom_minimum_size = Vector2( 100, 0 )
|
|
theme_override_fonts/font = ExtResource( 3 )
|
|
text = "OK"
|
|
|
|
[node name="cancel_btn" type="Button" parent="v_layout/buttons"]
|
|
offset_left = 246.0
|
|
offset_right = 346.0
|
|
offset_bottom = 21.0
|
|
custom_minimum_size = Vector2( 100, 0 )
|
|
theme_override_fonts/font = ExtResource( 3 )
|
|
text = "Cancel"
|