Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions 2d/gd_paint/paint_root.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://bhjmyer4wlwy2"]
[gd_scene load_steps=6 format=3 uid="uid://bhjmyer4wlwy2"]

[ext_resource type="Script" path="res://paint_control.gd" id="1"]
[ext_resource type="Script" path="res://tools_panel.gd" id="2"]
Expand All @@ -7,17 +7,22 @@
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4ksjc"]
bg_color = Color(1, 1, 1, 1)

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_npkcn"]
bg_color = Color(0.2, 0.2, 0.2, 1)

[node name="PaintRoot" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0

[node name="DrawingAreaBG" type="Panel" parent="."]
offset_left = 350.0
offset_right = 1024.0
offset_bottom = 600.0
anchor_left = 0.342
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -0.208008
grow_horizontal = 2
theme_override_styles/panel = SubResource( "StyleBoxFlat_4ksjc" )
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = true

[node name="PaintControl" type="Control" parent="."]
anchor_right = 1.0
Expand All @@ -34,9 +39,10 @@ position = Vector2(350, 0)
[node name="ToolsPanel" type="Panel" parent="."]
offset_right = 350.0
offset_bottom = 600.0
theme_override_styles/panel = SubResource( "StyleBoxFlat_npkcn" )
script = ExtResource( "2" )
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = true

[node name="LabelTools" type="Label" parent="ToolsPanel"]
offset_left = 20.0
Expand Down
5 changes: 2 additions & 3 deletions 2d/gd_paint/project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ gdscript/warnings/redundant_await=false

[display]

window/size/window_width_override=1280
window/size/window_height_override=720
window/stretch/mode="canvas_items"
window/stretch/mode="viewport"
window/stretch/aspect="keep_height"

[rendering]

Expand Down