From 2613e02cd2809ce05f1e4a1e256056c89a00921c Mon Sep 17 00:00:00 2001 From: Kiisu_Master <142301391+Kiisu-Master@users.noreply.github.com> Date: Tue, 28 May 2024 00:38:35 +0300 Subject: [PATCH] Fix ruler text not getting clipped (#1023) --- src/UI/UI.tscn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/UI/UI.tscn b/src/UI/UI.tscn index 372fb3d2e..33f01a452 100644 --- a/src/UI/UI.tscn +++ b/src/UI/UI.tscn @@ -275,6 +275,7 @@ drag_to_rearrange_enabled = true script = ExtResource("3") [node name="HorizontalRuler" type="Button" parent="DockableContainer/Main Canvas"] +clip_contents = true custom_minimum_size = Vector2(0, 16) layout_mode = 2 focus_mode = 0 @@ -290,6 +291,7 @@ size_flags_vertical = 3 theme_override_constants/separation = 0 [node name="VerticalRuler" type="Button" parent="DockableContainer/Main Canvas/ViewportandVerticalRuler"] +clip_contents = true custom_minimum_size = Vector2(16, 0) layout_mode = 2 size_flags_horizontal = 0