fix(color_picker): set min button width of segmented control to 0

This commit is contained in:
Michael Aaron Murphy 2024-03-06 23:49:05 +01:00 committed by Michael Murphy
parent 801c502c36
commit 73952a463c

View file

@ -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