fix(segmented_button): set icon to symbolic
This commit is contained in:
parent
6793950bbc
commit
cdf4eafc9e
1 changed files with 1 additions and 0 deletions
|
|
@ -1935,6 +1935,7 @@ where
|
|||
match crate::widget::common::object_select().data() {
|
||||
crate::iced_core::svg::Data::Bytes(bytes) => {
|
||||
crate::widget::icon::from_svg_bytes(bytes.as_ref())
|
||||
.symbolic(true)
|
||||
}
|
||||
crate::iced_core::svg::Data::Path(path) => {
|
||||
crate::widget::icon::from_path(path.clone())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue