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
parent 801c502c36
commit cddb43e21c
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

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