summaryrefslogtreecommitdiff
path: root/schist_desktop_gui/src/gui/components/table/view_table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'schist_desktop_gui/src/gui/components/table/view_table.rs')
-rw-r--r--schist_desktop_gui/src/gui/components/table/view_table.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/schist_desktop_gui/src/gui/components/table/view_table.rs b/schist_desktop_gui/src/gui/components/table/view_table.rs
index 3d4da64..725c5ff 100644
--- a/schist_desktop_gui/src/gui/components/table/view_table.rs
+++ b/schist_desktop_gui/src/gui/components/table/view_table.rs
@@ -18,7 +18,7 @@ where
.width(iced::Length::Fixed(col.width))
.into()
}))
- .spacing(SPACING_MD);
+ .spacing(u32::from(SPACING_MD));
let rows = column(self.rows.iter().map(|row_data| {
row(self.cols.iter().map(|col| {
@@ -34,11 +34,11 @@ where
.width(iced::Length::Fixed(col.width))
.into()
}))
- .spacing(SPACING_MD)
+ .spacing(u32::from(SPACING_MD))
.into()
}));
- scrollable(column![headers, rows].spacing(SPACING_MD))
+ scrollable(column![headers, rows].spacing(u32::from(SPACING_MD)))
.direction(ScrollableDirection::Both {
horizontal: Default::default(),
vertical: Default::default(),