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:
parent
9809fa3336
commit
9720e37ef8
22
src/BaseTool.tscn
Normal file
22
src/BaseTool.tscn
Normal 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
|
Loading…
Reference in a new issue