mirror of
https://github.com/monero-project/monero-gui
synced 2025-01-05 19:56:26 +01:00
Design polish work
This commit is contained in:
parent
6e794e3c50
commit
916c7acbb7
1
main.qml
1
main.qml
@ -286,7 +286,6 @@ ApplicationWindow {
|
|||||||
informationPopup.onCloseCallback = function() {
|
informationPopup.onCloseCallback = function() {
|
||||||
appWindow.close();
|
appWindow.close();
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
walletName = usefulName(wallet.path)
|
walletName = usefulName(wallet.path)
|
||||||
|
@ -133,15 +133,24 @@ Rectangle {
|
|||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
columns: (isMobile)? 1 : 2
|
property int column_width: {
|
||||||
|
if(!isMobile){
|
||||||
|
return (parent.width / 2) - 20;
|
||||||
|
} else {
|
||||||
|
return parent.width - 20;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
columns: 2
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
columnSpacing: 26 * scaleRatio
|
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
visible: !isMobile
|
visible: !isMobile
|
||||||
|
Layout.preferredWidth: parent.column_width
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
Layout.preferredWidth: parent.column_width
|
||||||
LineEdit {
|
LineEdit {
|
||||||
id: searchLine
|
id: searchLine
|
||||||
fontSize: 14 * scaleRatio
|
fontSize: 14 * scaleRatio
|
||||||
|
@ -187,6 +187,7 @@ Rectangle {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
font.bold: true
|
font.bold: true
|
||||||
font.pixelSize: 16 * scaleRatio
|
font.pixelSize: 16 * scaleRatio
|
||||||
|
color: Style.defaultFontColor
|
||||||
text: (viewOnlyQRCode.visible) ? qsTr("View Only Wallet") + translationManager.emptyString : qsTr("Spendable Wallet") + translationManager.emptyString
|
text: (viewOnlyQRCode.visible) ? qsTr("View Only Wallet") + translationManager.emptyString : qsTr("Spendable Wallet") + translationManager.emptyString
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user