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

commit3fa00f664c642b5f07c0b7bc63d1385a72131ae9
parent34b4aa00a6
authorLucas Galante <[email protected]>
date2026-07-04 19:43
Configure page selector dropdown to open upward in main.rs

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

diff --git a/src/main.rs b/src/main.rs
index 7c189cd..84e37ab 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -368,7 +368,7 @@ cascades in cce."
                 }), // 42 Toggle: Bevel
                 Box::new(Spinbox::new(1, 1, 10, 1).with_label("Border Width")), // 43 Spinbox: Border Width
                 Box::new(SectionContainer::new("Window Elements")), // 44 Section: Window Elements
-                Box::new(Dropdown::new(vec!["Controls".to_string(), "Windows".to_string(), "XDG".to_string()], 0)), // 45 Dropdown: Page selector
+                Box::new(Dropdown::new(vec!["Controls".to_string(), "Windows".to_string(), "XDG".to_string()], 0).with_open_upward(true)), // 45 Dropdown: Page selector
             ]
         };