fix(widget): set SegmentedButton icon color to be same as text

This commit is contained in:
Michael Aaron Murphy 2023-09-19 16:41:14 +02:00 committed by Michael Murphy
parent 96549d1b84
commit 8f9fde7fe8

View file

@ -521,7 +521,11 @@ where
&Tree::empty(), &Tree::empty(),
renderer, renderer,
theme, theme,
style, &renderer::Style {
icon_color: status_appearance.text_color,
text_color: status_appearance.text_color,
scale_factor: style.scale_factor,
},
Layout::new(&layout_node), Layout::new(&layout_node),
cursor, cursor,
viewport, viewport,
@ -575,7 +579,11 @@ where
&Tree::empty(), &Tree::empty(),
renderer, renderer,
theme, theme,
style, &renderer::Style {
icon_color: status_appearance.text_color,
text_color: status_appearance.text_color,
scale_factor: style.scale_factor,
},
Layout::new(&layout_node), Layout::new(&layout_node),
cursor, cursor,
viewport, viewport,