1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-31 07:29:49 +00:00

centered labels of tool names

This commit is contained in:
Variable 2023-11-01 09:00:25 +05:00 committed by GitHub
parent 9809fa3336
commit 9720e37ef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
src/BaseTool.tscn Normal file
View file

@ -0,0 +1,22 @@
[gd_scene load_steps=2 format=3 uid="uid://ctfgfelg0sho8"]
[ext_resource type="Script" path="res://src/Tools/BaseTool.gd" id="1"]
[node name="ToolOptions" type="VBoxContainer"]
offset_left = 7.0
offset_top = 7.0
offset_right = 123.0
offset_bottom = 65.0
size_flags_horizontal = 3
script = ExtResource("1")
[node name="ColorRect" type="ColorRect" parent="."]
custom_minimum_size = Vector2(0, 4)
layout_mode = 2
[node name="Label" type="Label" parent="."]
layout_mode = 2
theme_type_variation = &"HeaderSmall"
text = "Tool Name"
horizontal_alignment = 1
autowrap_mode = 3