diff options
| author | Joe Carstairs <me@joeac.net> | 2026-02-12 19:07:31 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-02-12 19:07:31 +0000 |
| commit | 3c8a428c195da414171bd6e9064f26c4a66ffe61 (patch) | |
| tree | b72ae243115d5d9aa82b11d969a6e689301498f8 /schist_desktop_gui/src/gui/components/table | |
| parent | 8659e9df22908fb10afb8d949a523d347634e637 (diff) | |
task-085: upgrade iced 0.13.1 -> 0.14.0
Diffstat (limited to 'schist_desktop_gui/src/gui/components/table')
| -rw-r--r-- | schist_desktop_gui/src/gui/components/table/view_table.rs | 6 |
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(), |
