diff --git a/res/ui/transactions_tab.ui b/res/ui/transactions_tab.ui index e316da4c956d7711dde481e1bddbf0bf270ebb74..f9b6d6edaf525443e7363a74e165a359ffa37d40 100644 --- a/res/ui/transactions_tab.ui +++ b/res/ui/transactions_tab.ui @@ -46,23 +46,29 @@ <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> - <widget class="QLabel" name="label_balance"> + <widget class="QLabel" name="label_payment"> <property name="text"> - <string>Balance:</string> + <string>Payment:</string> </property> </widget> </item> <item> - <widget class="QLabel" name="label_payment"> + <widget class="QLabel" name="label_deposit"> <property name="text"> - <string>Payment:</string> + <string>Deposit:</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> </property> </widget> </item> <item> - <widget class="QLabel" name="label_deposit"> + <widget class="QLabel" name="label_balance"> <property name="text"> - <string>Deposit:</string> + <string>Balance:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> diff --git a/src/cutecoin/gui/transactions_tab.py b/src/cutecoin/gui/transactions_tab.py index 514cff55eaa1825da9eb7c08cb6925b8441b3a51..84144fd6074603cbc7cbb6eb4fa7586be3b0fcaa 100644 --- a/src/cutecoin/gui/transactions_tab.py +++ b/src/cutecoin/gui/transactions_tab.py @@ -85,15 +85,15 @@ class TransactionsTabWidget(QWidget, Ui_transactionsTabWidget): localized_balance = QLocale().toString( self.app.current_account.units_to_diff_ref(balance, self.community), 'f', 6) - self.label_deposit.setText(self.tr("Deposits: {:} {:}").format( + self.label_deposit.setText(self.tr("<b>Deposits</b> {:} {:}").format( localized_deposits, self.app.current_account.ref_name(self.community.short_currency) )) - self.label_payment.setText(self.tr("Payments: {:} {:}").format( + self.label_payment.setText(self.tr("<b>Payments</b> {:} {:}").format( localized_payments, self.app.current_account.ref_name(self.community.short_currency) )) - self.label_balance.setText(self.tr("Balance: {:} {:}").format( + self.label_balance.setText(self.tr("<b>Balance</b> {:} {:}").format( localized_balance, self.app.current_account.ref_name(self.community.short_currency) ))