fix(color_picker): set min button width of segmented control to 0
This commit is contained in:
parent
801c502c36
commit
73952a463c
1 changed files with 1 additions and 0 deletions
|
|
@ -285,6 +285,7 @@ where
|
||||||
.on_activate(Box::new(move |e| on_update(
|
.on_activate(Box::new(move |e| on_update(
|
||||||
ColorPickerUpdate::ActivateSegmented(e)
|
ColorPickerUpdate::ActivateSegmented(e)
|
||||||
)))
|
)))
|
||||||
|
.minimum_button_width(0)
|
||||||
.width(self.width),
|
.width(self.width),
|
||||||
// canvas with gradient for the current color
|
// canvas with gradient for the current color
|
||||||
// still needs the canvas and the handle to be drawn on it
|
// still needs the canvas and the handle to be drawn on it
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue