git.lucas.co / cce-gallery
widget gallery and compositor test bench

commit24cf2538a4dbcd2bcdd0550f52db8ec33641ee26
parentb6e71b8d7a
authorLucas Galante <[email protected]>
date2026-07-04 20:47
Increase default child window height for Ramp and ColorRamp to 300.0 to prevent dropdown menus from cutting off

 src/main.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.rs b/src/main.rs
index 5e7f3b8..1faac60 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2381,6 +2381,7 @@ fn main() {
                 Some("LayerTop") => (800.0, 40.0),
                 Some("LayerOverlay") => (300.0, 180.0),
                 Some("LayerBackground") => (800.0, 600.0),
+                Some("Ramp") | Some("ColorRamp") => (450.0, 300.0),
                 _ => (400.0, 250.0),
             }
         }