From 0d5534c445475ee8422ccdbe85d91f488c149d30 Mon Sep 17 00:00:00 2001 From: xxSeys1 Date: Mon, 24 Feb 2025 17:43:32 +0100 Subject: [PATCH] decrease grid panel fill slider sensitivity --- Source/Engine/UI/GUI/Panels/GridPanel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Engine/UI/GUI/Panels/GridPanel.cs b/Source/Engine/UI/GUI/Panels/GridPanel.cs index 2b1a0a123..24a7e0090 100644 --- a/Source/Engine/UI/GUI/Panels/GridPanel.cs +++ b/Source/Engine/UI/GUI/Panels/GridPanel.cs @@ -35,7 +35,7 @@ namespace FlaxEngine.GUI /// /// The cells heights in container height percentage (from top to bottom). Use negative values to set fixed widths for the cells. /// - [EditorOrder(10), Tooltip("The cells heights in container height percentage (from top to bottom). Use negative values to set fixed height for the cells.")] + [EditorOrder(10), Limit(float.MinValue, float.MaxValue, 0.001f), Tooltip("The cells heights in container height percentage (from top to bottom). Use negative values to set fixed height for the cells.")] public float[] RowFill { get => _cellsV; @@ -49,7 +49,7 @@ namespace FlaxEngine.GUI /// /// The cells heights in container width percentage (from left to right). Use negative values to set fixed heights for the cells. /// - [EditorOrder(20), Tooltip("The cells heights in container width percentage (from left to right). Use negative values to set fixed width for the cells.")] + [EditorOrder(20), Limit(float.MinValue, float.MaxValue, 0.001f), Tooltip("The cells heights in container width percentage (from left to right). Use negative values to set fixed width for the cells.")] public float[] ColumnFill { get => _cellsH;