Skip to content

Commit

Permalink
Fix pro view order form overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 committed Aug 17, 2024
1 parent 92b39a5 commit 182582b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions atomic_defi_design/Dex/Components/DexTextField.qml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ TextField

property alias left_text: left_text.text_value
property alias right_text: right_text.text_value
property alias left_fontsize: left_text.font.pixelSize
property alias right_fontsize: right_text.font.pixelSize
property alias radius: background.radius
property color backgroundColor: Dex.CurrentTheme.textFieldBackgroundColor
property color backgroundColorActive: Dex.CurrentTheme.textFieldActiveBackgroundColor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ ColumnLayout
id: input_price

left_text: qsTr("Price")
right_text: right_ticker
right_text: General.coinWithoutSuffix(right_ticker)
right_fontsize: 10
enabled: !(API.app.trading_pg.preferred_order.price !== undefined)
color: enabled ? Dex.CurrentTheme.foregroundColor : Dex.CurrentTheme.foregroundColor2
text: backend_price ? backend_price : General.formatDouble(API.app.trading_pg.cex_price)
Expand Down Expand Up @@ -167,7 +168,8 @@ ColumnLayout
height: 36
radius: 18
left_text: sell_mode ? qsTr("Send") : qsTr("Receive")
right_text: left_ticker
right_text: General.coinWithoutSuffix(left_ticker)
right_fontsize: 10
placeholderText: "0"
text: API.app.trading_pg.volume
onTextChanged: {
Expand Down
2 changes: 1 addition & 1 deletion atomic_defi_design/Dex/Wallet/SendResult.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ MultipageModalContent
property string custom_amount
property alias tx_hash: tx_hash.text_value

titleText: qsTr("Transaction Complete!")
titleText: qsTr("Transaction Broadcast!")

// Transaction Hash
TitleText
Expand Down
2 changes: 1 addition & 1 deletion atomic_defi_design/Dex/Wallet/TransactionDetailsModal.qml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ MultipageModal
TextEditWithTitle
{
title: qsTr("Date")
text: !details ? "" : details.timestamp === 0 ? qsTr("Unconfirmed"): details.date
text: !details ? "" : details.timestamp === 0 ? qsTr("Awaiting confirmation"): details.timestamp
label.font.pixelSize: 13
}

Expand Down

0 comments on commit 182582b

Please sign in to comment.