Fixed warnings
This commit is contained in:
parent
1e28f39771
commit
d4bce76213
2 changed files with 3 additions and 3 deletions
|
|
@ -74,7 +74,8 @@ where
|
||||||
.spacing(space_xxxs)
|
.spacing(space_xxxs)
|
||||||
.align_y(Alignment::Center)
|
.align_y(Alignment::Center)
|
||||||
.push_maybe(
|
.push_maybe(
|
||||||
item.get_icon(Category::default()).map(|icon| icon.size(48)),
|
item.get_icon(Category::default())
|
||||||
|
.map(|icon| icon.size(val.icon_size)),
|
||||||
)
|
)
|
||||||
.push(
|
.push(
|
||||||
widget::column()
|
widget::column()
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,11 @@ use crate::widget::table::model::{
|
||||||
Entity, Model,
|
Entity, Model,
|
||||||
};
|
};
|
||||||
use crate::{
|
use crate::{
|
||||||
ext::CollectionWidget,
|
|
||||||
theme,
|
theme,
|
||||||
widget::{self, container, divider, menu},
|
widget::{self, container, divider, menu},
|
||||||
Apply, Element,
|
Apply, Element,
|
||||||
};
|
};
|
||||||
use iced::{Alignment, Border, Length, Padding};
|
use iced::{Alignment, Border, Padding};
|
||||||
|
|
||||||
// THIS IS A PLACEHOLDER UNTIL A MORE SOPHISTICATED WIDGET CAN BE DEVELOPED
|
// THIS IS A PLACEHOLDER UNTIL A MORE SOPHISTICATED WIDGET CAN BE DEVELOPED
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue