aboutsummaryrefslogtreecommitdiff
path: root/main.tscn
diff options
context:
space:
mode:
authordam <dam@gudinoff>2021-12-06 11:38:48 +0000
committerdam <dam@gudinoff>2021-12-06 11:38:48 +0000
commite5072b4342aecc7b19ed3b0df156f3ecfcf0598f (patch)
tree85365787f827d807b4b395d327fe1d56742bda37 /main.tscn
parent229bfb4b0ffaf7940317ffeba96f6537da9cc1df (diff)
downloadsurgery-log-e5072b4342aecc7b19ed3b0df156f3ecfcf0598f.tar.zst
surgery-log-e5072b4342aecc7b19ed3b0df156f3ecfcf0598f.zip
Fix resizing of main.body.
Diffstat (limited to 'main.tscn')
-rw-r--r--main.tscn99
1 files changed, 53 insertions, 46 deletions
diff --git a/main.tscn b/main.tscn
index c2cf66a..adec227 100644
--- a/main.tscn
+++ b/main.tscn
@@ -8,8 +8,11 @@
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 3 )
+__meta__ = {
+"_edit_use_anchors_": false
+}
-[node name="TabContainer" type="TabContainer" parent="."]
+[node name="body" type="TabContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
tab_align = 0
@@ -17,11 +20,11 @@ __meta__ = {
"_edit_use_anchors_": false
}
-[node name="novo" type="ScrollContainer" parent="TabContainer"]
+[node name="record" type="ScrollContainer" parent="body"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
-margin_top = 38.0
+margin_top = 30.0
margin_right = -4.0
margin_bottom = -4.0
scroll_horizontal_enabled = false
@@ -29,135 +32,136 @@ __meta__ = {
"_edit_use_anchors_": false
}
-[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/novo"]
-margin_right = 720.0
-margin_bottom = 822.0
-rect_min_size = Vector2( 720, 0 )
+[node name="VBoxContainer" type="VBoxContainer" parent="body/record"]
+margin_right = 712.0
+margin_bottom = 1246.0
rect_clip_content = true
+size_flags_horizontal = 3
+size_flags_vertical = 3
script = ExtResource( 1 )
-[node name="process_number" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
-margin_right = 720.0
+[node name="process_number" type="LineEdit" parent="body/record/VBoxContainer"]
+margin_right = 712.0
margin_bottom = 30.0
placeholder_text = "Nº Processo"
caret_blink = true
caret_blink_speed = 0.5
-[node name="surgery_number" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="surgery_number" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 34.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 64.0
placeholder_text = "Nº Cirurgia"
caret_blink = true
caret_blink_speed = 0.5
-[node name="date_picker" parent="TabContainer/novo/VBoxContainer" instance=ExtResource( 2 )]
+[node name="date_picker" parent="body/record/VBoxContainer" instance=ExtResource( 2 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 68.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 268.0
rect_min_size = Vector2( 400, 200 )
-[node name="place" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="place" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 272.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 302.0
placeholder_text = "Local"
caret_blink = true
caret_blink_speed = 0.5
-[node name="anesthesia" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="anesthesia" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 306.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 336.0
placeholder_text = "Anesthesics"
caret_blink = true
caret_blink_speed = 0.5
-[node name="first_aider" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="first_aider" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 340.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 370.0
placeholder_text = "1º Ajudante"
caret_blink = true
caret_blink_speed = 0.5
-[node name="type" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="type" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 374.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 404.0
placeholder_text = "Tipo"
caret_blink = true
caret_blink_speed = 0.5
-[node name="sub_type" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="sub_type" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 408.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 438.0
placeholder_text = "Subtipo"
caret_blink = true
caret_blink_speed = 0.5
-[node name="sub_sub_type" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="sub_sub_type" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 442.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 472.0
placeholder_text = "Sub-Subtipo"
caret_blink = true
caret_blink_speed = 0.5
-[node name="pathology" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="pathology" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 476.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 506.0
placeholder_text = "Patologia"
caret_blink = true
caret_blink_speed = 0.5
-[node name="intervention" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="intervention" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 510.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 540.0
placeholder_text = "Intervenção"
caret_blink = true
caret_blink_speed = 0.5
-[node name="urgency" type="CheckBox" parent="TabContainer/novo/VBoxContainer"]
+[node name="urgency" type="CheckBox" parent="body/record/VBoxContainer"]
margin_top = 544.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 572.0
text = "Urgência"
-[node name="notes" type="LineEdit" parent="TabContainer/novo/VBoxContainer"]
+[node name="notes" type="LineEdit" parent="body/record/VBoxContainer"]
margin_top = 576.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 606.0
placeholder_text = "Notas"
caret_blink = true
caret_blink_speed = 0.5
-[node name="output" type="RichTextLabel" parent="TabContainer/novo/VBoxContainer"]
+[node name="output" type="RichTextLabel" parent="body/record/VBoxContainer"]
margin_top = 610.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 660.0
rect_min_size = Vector2( 0, 50 )
__meta__ = {
"_edit_use_anchors_": false
}
-[node name="timer" type="RichTextLabel" parent="TabContainer/novo/VBoxContainer"]
+[node name="timer" type="RichTextLabel" parent="body/record/VBoxContainer"]
margin_top = 664.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 714.0
rect_min_size = Vector2( 0, 50 )
__meta__ = {
"_edit_use_anchors_": false
}
-[node name="button" type="Button" parent="TabContainer/novo/VBoxContainer"]
+[node name="button" type="Button" parent="body/record/VBoxContainer"]
margin_top = 718.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 768.0
grow_horizontal = 2
grow_vertical = 2
@@ -167,26 +171,29 @@ __meta__ = {
"_edit_use_anchors_": false
}
-[node name="log" type="RichTextLabel" parent="TabContainer/novo/VBoxContainer"]
+[node name="log" type="RichTextLabel" parent="body/record/VBoxContainer"]
margin_top = 772.0
-margin_right = 720.0
+margin_right = 712.0
margin_bottom = 822.0
rect_min_size = Vector2( 0, 50 )
__meta__ = {
"_edit_use_anchors_": false
}
-[node name="historico" type="ScrollContainer" parent="TabContainer"]
+[node name="list" type="ScrollContainer" parent="body"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
-margin_right = -8.0
-margin_bottom = -42.0
+margin_left = 4.0
+margin_top = 30.0
+margin_right = -4.0
+margin_bottom = -4.0
+scroll_horizontal_enabled = false
-[node name="ItemList" type="ItemList" parent="TabContainer/historico"]
+[node name="ItemList" type="ItemList" parent="body/list"]
visible = false
-[node name="MenuButton" type="MenuButton" parent="."]
+[node name="menu" type="MenuButton" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -32.0