git.lucas.co / cce-ui
GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git

commit6283f637eafe814fe8baa889978d291951ae22a2
parent8948af0a49
authorLucas Galante <[email protected]>
date2026-07-24 15:43
feat: taller ramp rows in the params pane

The ramp row grows 190 -> 260px; the control strip and label band are
fixed, so the extra height goes entirely to the curve plot
(Ramp::graph_h = height - strip), giving more room to read and edit the
Bevel/Edge profile curves.

Co-Authored-By: Claude Fable 5 <[email protected]>

 src/widget/container/parameters_bg.rs | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/widget/container/parameters_bg.rs b/src/widget/container/parameters_bg.rs
index 0f9ff82..1f4b5f9 100644
--- a/src/widget/container/parameters_bg.rs
+++ b/src/widget/container/parameters_bg.rs
@@ -169,8 +169,10 @@ impl ParametersBg {
         } else if p.2 == "section" {
             24.0
         } else if p.2 == "ramp" {
-            // Label band + the ramp's graph and control strip.
-            190.0
+            // Label band + the ramp's graph and control strip. The control
+            // strip and label band are fixed, so this whole increase grows the
+            // curve plot (Ramp::graph_h = height − strip).
+            260.0
         } else if p.2.starts_with("float3") {
             108.0
         } else if p.2.starts_with("slider") {