1
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:
Sander Ferdinand 2018-03-21 23:58:51 +01:00 committed by moneromooo-monero
parent 6e794e3c50
commit 916c7acbb7
3 changed files with 12 additions and 3 deletions

View File

@ -286,7 +286,6 @@ ApplicationWindow {
informationPopup.onCloseCallback = function() { informationPopup.onCloseCallback = function() {
appWindow.close(); appWindow.close();
} }
return;
} }
walletName = usefulName(wallet.path) walletName = usefulName(wallet.path)

View File

@ -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

View File

@ -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
} }