fix(widget): allow None for button text color to inherit from container
This commit is contained in:
parent
6acdba28aa
commit
b404497e76
5 changed files with 15 additions and 28 deletions
|
|
@ -306,7 +306,7 @@ where
|
|||
theme,
|
||||
&renderer::Style {
|
||||
icon_color: styling.icon_color.unwrap_or(renderer_style.icon_color),
|
||||
text_color: styling.text_color,
|
||||
text_color: styling.text_color.unwrap_or(renderer_style.icon_color),
|
||||
scale_factor: renderer_style.scale_factor,
|
||||
},
|
||||
content_layout,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue