diff options
| author | Joe Carstairs <me@joeac.net> | 2026-02-22 21:36:54 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-02-22 21:36:54 +0000 |
| commit | 1bf1819e9e28dec7a1983269377238258286b3c7 (patch) | |
| tree | 77424cf8cae70e395a949ed4d5ae3ed6c4246484 /schist_desktop_gui/src/gui/components/transactions_view | |
| parent | 4030a63ac6fe61df87dca07e4143a6b84a9e8475 (diff) | |
task-085: align balance right
Diffstat (limited to 'schist_desktop_gui/src/gui/components/transactions_view')
| -rw-r--r-- | schist_desktop_gui/src/gui/components/transactions_view/view_transactions_view.rs | 9 |
1 files changed, 7 insertions, 2 deletions
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 1427830..268984b 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 @@ -32,11 +32,15 @@ impl<'a> Viewable<'a, Message> for TransactionsView { view_payee_cell, ), column( - Text::default("Quantity").width(iced::Length::Fixed(96.0)), + Text::default("Quantity") + .width(iced::Length::Fixed(96.0)) + .align_right(), view_quantity_cell, ), column( - Text::default("Balance").width(iced::Length::Fixed(96.0)), + Text::default("Balance") + .width(iced::Length::Fixed(96.0)) + .align_right(), view_balance_cell, ), ]; @@ -104,4 +108,5 @@ fn view_balance_cell(row: TransactionRow) -> Text { .width(iced::Length::Fixed(96.0)) .small() .clip() + .align_right() } |
