GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git
Enable preset dropdown in float Ramp to always open upward
src/widget/input/ramp.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/widget/input/ramp.rs b/src/widget/input/ramp.rs
index 80a0760..b844d93 100644
--- a/src/widget/input/ramp.rs
+++ b/src/widget/input/ramp.rs
@@ -444,7 +444,8 @@ impl Ramp {
"Valley".to_string(),
],
2,
- ).with_label("Preset");
+ ).with_label("Preset")
+ .with_open_upward(true);
Self {
base: Widget::new(),