summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schist_desktop_gui/src/gui/components/transactions_view/view_transactions_view.rs9
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()
}