Set default BoxContainer separation of 5 px

This commit is contained in:
Sebastian Morr 2020-09-21 19:03:09 +02:00
parent ba55f64118
commit 004f8eaf85
4 changed files with 25 additions and 16 deletions

View file

@ -93,13 +93,13 @@ size_flags_vertical = 3
label = "Your repository"
[node name="RightSide" type="VBoxContainer" parent="HBoxContainer"]
margin_left = 1274.0
margin_left = 1275.0
margin_right = 1910.0
margin_bottom = 1070.0
size_flags_horizontal = 3
[node name="Menu" type="HBoxContainer" parent="HBoxContainer/RightSide"]
margin_right = 636.0
margin_right = 635.0
margin_bottom = 35.0
[node name="LevelSelect" type="MenuButton" parent="HBoxContainer/RightSide/Menu"]
@ -112,33 +112,37 @@ __meta__ = {
}
[node name="ReloadButton" type="Button" parent="HBoxContainer/RightSide/Menu"]
margin_left = 134.0
margin_right = 213.0
margin_left = 135.0
margin_right = 214.0
margin_bottom = 35.0
focus_mode = 0
enabled_focus_mode = 0
text = "Reload"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NextLevelButton" type="Button" parent="HBoxContainer/RightSide/Menu"]
margin_left = 217.0
margin_right = 327.0
margin_left = 219.0
margin_right = 329.0
margin_bottom = 35.0
focus_mode = 0
custom_styles/hover = SubResource( 1 )
custom_styles/normal = ExtResource( 4 )
enabled_focus_mode = 0
text = "Next Level"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LevelPanel" type="VBoxContainer" parent="HBoxContainer/RightSide"]
margin_top = 39.0
margin_right = 636.0
margin_top = 40.0
margin_right = 635.0
margin_bottom = 552.0
size_flags_vertical = 3
[node name="LevelName" type="RichTextLabel" parent="HBoxContainer/RightSide/LevelPanel"]
margin_right = 636.0
margin_right = 635.0
margin_bottom = 60.0
rect_min_size = Vector2( 0, 60 )
custom_fonts/normal_font = ExtResource( 7 )
@ -148,9 +152,9 @@ __meta__ = {
}
[node name="Text" type="Control" parent="HBoxContainer/RightSide/LevelPanel"]
margin_top = 64.0
margin_right = 636.0
margin_bottom = 513.0
margin_top = 65.0
margin_right = 635.0
margin_bottom = 512.0
size_flags_vertical = 3
[node name="LevelDescription" type="RichTextLabel" parent="HBoxContainer/RightSide/LevelPanel/Text"]
@ -179,8 +183,8 @@ __meta__ = {
[node name="Terminal" parent="HBoxContainer/RightSide" instance=ExtResource( 1 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 556.0
margin_right = 636.0
margin_top = 557.0
margin_right = 635.0
margin_bottom = 1070.0
size_flags_vertical = 3
repository_path = NodePath("../../Repositories/ActiveRepository")

View file

@ -62,6 +62,8 @@ anchor_top = 0.968
anchor_bottom = 0.968
margin_right = 24.0
margin_bottom = 24.0
focus_mode = 0
enabled_focus_mode = 0
text = "Hide trees and blobs"
[node name="Nodes" type="Control" parent="."]

View file

@ -156,6 +156,7 @@ CheckBox/styles/hover = SubResource( 8 )
CheckBox/styles/hover_pressed = SubResource( 9 )
CheckBox/styles/normal = SubResource( 10 )
CheckBox/styles/pressed = SubResource( 11 )
HBoxContainer/constants/separation = 5
LineEdit/colors/clear_button_color = Color( 0.878431, 0.878431, 0.878431, 1 )
LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 )
LineEdit/colors/cursor_color = Color( 0.94, 0.94, 0.94, 1 )
@ -226,3 +227,4 @@ TextEdit/styles/completion = null
TextEdit/styles/focus = SubResource( 17 )
TextEdit/styles/normal = SubResource( 18 )
TextEdit/styles/read_only = null
VBoxContainer/constants/separation = 5

View file

@ -25,14 +25,13 @@ __meta__ = {
[node name="Control" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
custom_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Output" type="RichTextLabel" parent="Control"]
margin_right = 1920.0
margin_bottom = 1049.0
margin_bottom = 1045.0
size_flags_vertical = 3
custom_styles/normal = SubResource( 1 )
custom_fonts/normal_font = ExtResource( 4 )
@ -67,7 +66,9 @@ anchor_right = 1.0
margin_left = -10.0
margin_top = 10.0
margin_right = -10.0
focus_mode = 0
custom_fonts/font = ExtResource( 1 )
enabled_focus_mode = 0
text = "Clear"
[node name="TextEditor" parent="." instance=ExtResource( 5 )]