Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion atomic_qt_design/qml/Wallet/Wallet.qml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ RowLayout {
ColumnLayout {
id: balance_layout
DefaultText {
id: balance_text
text: API.get().empty_string + (General.formatCrypto("", API.get().current_coin_info.balance, API.get().current_coin_info.ticker))
Layout.alignment: Qt.AlignRight
font.pixelSize: Style.textSize5
}

DefaultText {
id: balance_fiat_text
text: API.get().empty_string + (General.formatFiat("", API.get().current_coin_info.fiat_amount, API.get().fiat))
Layout.topMargin: -15
Layout.rightMargin: 4
Expand All @@ -67,7 +69,7 @@ RowLayout {
Image {
source: General.coinIcon(API.get().current_coin_info.ticker)
Layout.leftMargin: 10
Layout.preferredHeight: balance_layout.childrenRect.height
Layout.preferredHeight: balance_text.font.pixelSize + balance_fiat_text.font.pixelSize
Layout.preferredWidth: Layout.preferredHeight
}
}
Expand Down