summaryrefslogtreecommitdiff
path: root/schist_desktop_gui/src/gui
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-02-12 19:07:31 +0000
committerJoe Carstairs <me@joeac.net>2026-02-12 19:07:31 +0000
commit3c8a428c195da414171bd6e9064f26c4a66ffe61 (patch)
treeb72ae243115d5d9aa82b11d969a6e689301498f8 /schist_desktop_gui/src/gui
parent8659e9df22908fb10afb8d949a523d347634e637 (diff)
task-085: upgrade iced 0.13.1 -> 0.14.0
Diffstat (limited to 'schist_desktop_gui/src/gui')
-rw-r--r--schist_desktop_gui/src/gui/components/balances_view/view_balances_view.rs2
-rw-r--r--schist_desktop_gui/src/gui/components/buckets_view.rs2
-rw-r--r--schist_desktop_gui/src/gui/components/table/view_table.rs6
-rw-r--r--schist_desktop_gui/src/gui/components/transactions_view/view_transactions_view.rs2
-rw-r--r--schist_desktop_gui/src/gui/screens/main_screen/main_screen.rs2
5 files changed, 7 insertions, 7 deletions
diff --git a/schist_desktop_gui/src/gui/components/balances_view/view_balances_view.rs b/schist_desktop_gui/src/gui/components/balances_view/view_balances_view.rs
index 22f22b6..013a6fb 100644
--- a/schist_desktop_gui/src/gui/components/balances_view/view_balances_view.rs
+++ b/schist_desktop_gui/src/gui/components/balances_view/view_balances_view.rs
@@ -24,7 +24,7 @@ impl<'a> Viewable<'a, Message> for BalancesView {
]
.align_y(alignment::Vertical::Center)
.height(Length::Fill)
- .spacing(SPACING_LG)
+ .spacing(u32::from(SPACING_LG))
.into()
}
}
diff --git a/schist_desktop_gui/src/gui/components/buckets_view.rs b/schist_desktop_gui/src/gui/components/buckets_view.rs
index 7f5b218..8f12019 100644
--- a/schist_desktop_gui/src/gui/components/buckets_view.rs
+++ b/schist_desktop_gui/src/gui/components/buckets_view.rs
@@ -115,7 +115,7 @@ impl<'a> Viewable<'a, Message> for BucketsView {
]
.align_y(alignment::Vertical::Center)
.height(Length::Fill)
- .spacing(SPACING_LG)
+ .spacing(u32::from(SPACING_LG))
.into()
}
}
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(),
diff --git a/schist_desktop_gui/src/gui/components/transactions_view/view_transactions_view.rs b/schist_desktop_gui/src/gui/components/transactions_view/view_transactions_view.rs
index d1f6af2..8102314 100644
--- a/schist_desktop_gui/src/gui/components/transactions_view/view_transactions_view.rs
+++ b/schist_desktop_gui/src/gui/components/transactions_view/view_transactions_view.rs
@@ -20,7 +20,7 @@ impl<'a> Viewable<'a, Message> for TransactionsView {
]
.align_y(alignment::Vertical::Center)
.height(Length::Fill)
- .spacing(SPACING_LG)
+ .spacing(u32::from(SPACING_LG))
.into()
}
}
diff --git a/schist_desktop_gui/src/gui/screens/main_screen/main_screen.rs b/schist_desktop_gui/src/gui/screens/main_screen/main_screen.rs
index 9852b53..86ce910 100644
--- a/schist_desktop_gui/src/gui/screens/main_screen/main_screen.rs
+++ b/schist_desktop_gui/src/gui/screens/main_screen/main_screen.rs
@@ -65,7 +65,7 @@ impl<'a> Viewable<'a, Message> for MainScreen {
]
.align_y(alignment::Vertical::Center)
.height(Length::Fill)
- .spacing(SPACING_LG)
+ .spacing(u32::from(SPACING_LG))
.into()
}
}