From 73952a463caccc818352003eabf3e049c0ffe367 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Wed, 6 Mar 2024 23:49:05 +0100 Subject: [PATCH] fix(color_picker): set min button width of segmented control to 0 --- src/widget/color_picker/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget/color_picker/mod.rs b/src/widget/color_picker/mod.rs index cabe2cb7..d3de5b97 100644 --- a/src/widget/color_picker/mod.rs +++ b/src/widget/color_picker/mod.rs @@ -285,6 +285,7 @@ where .on_activate(Box::new(move |e| on_update( ColorPickerUpdate::ActivateSegmented(e) ))) + .minimum_button_width(0) .width(self.width), // canvas with gradient for the current color // still needs the canvas and the handle to be drawn on it