diary/user_interface/utility_controls/editable_text_block.tscn

78 lines
2.2 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=3 format=2]
[ext_resource path="res://user_interface/utility_controls/editable_text_block.gd" type="Script" id=2]
[ext_resource path="res://user_interface/utility_controls/content_fit_text_edit.gd" type="Script" id=3]
[node name="EditableTextBlock" type="MarginContainer"]
margin_right = 193.0
margin_bottom = 40.0
size_flags_horizontal = 0
custom_constants/margin_right = 0
custom_constants/margin_top = 0
custom_constants/margin_left = 0
custom_constants/margin_bottom = 0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NinePatch" type="NinePatchRect" parent="."]
margin_right = 193.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_right = 193.0
margin_bottom = 40.0
custom_constants/separation = -4
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
margin_right = 193.0
margin_bottom = 31.0
mouse_filter = 2
custom_constants/margin_right = 17
custom_constants/margin_top = 11
custom_constants/margin_left = 8
custom_constants/margin_bottom = 5
[node name="Content" type="RichTextLabel" parent="VBoxContainer/MarginContainer"]
margin_left = 8.0
margin_top = 11.0
margin_right = 176.0
margin_bottom = 26.0
mouse_filter = 1
bbcode_enabled = true
fit_content_height = true
[node name="ReferenceLabel" type="Label" parent="VBoxContainer/MarginContainer"]
self_modulate = Color( 1, 1, 1, 0 )
margin_left = 8.0
margin_top = 11.0
margin_right = 176.0
margin_bottom = 25.0
text = "[Content]"
[node name="ContentFitTextEdit" type="TextEdit" parent="VBoxContainer/MarginContainer"]
margin_left = 8.0
margin_top = 11.0
margin_right = 176.0
margin_bottom = 26.0
context_menu_enabled = false
virtual_keyboard_enabled = false
wrap_enabled = true
caret_blink = true
script = ExtResource( 3 )
height_addition = 4
expand_width = true
width_addition = 10
confirm_on_focus_exit = true
[node name="PopupMenu" type="PopupMenu" parent="."]
margin_right = 193.0
margin_bottom = 40.0
[connection signal="confirmed" from="VBoxContainer/MarginContainer/ContentFitTextEdit" to="." method="_on_text_edit_confirmed"]
[connection signal="id_pressed" from="PopupMenu" to="." method="_on_popup_menu_id_pressed"]