Skip to content

Commit

Permalink
#746 GUI - Mac- Restore screen - Resolution issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
echoby committed Jul 11, 2019
1 parent 126fb8e commit 96914ac
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ui/i18n/en_US.ts
Expand Up @@ -978,7 +978,7 @@
<message id="settings-general-language">
<source>Language</source>
<extracomment>settings tab, general section, language label</extracomment>
<translation>Language</translation>
<translation type="vanished">Language</translation>
</message>
<message id="open-external-open">
<source>Open</source>
Expand Down
2 changes: 1 addition & 1 deletion ui/i18n/es_ES.ts
Expand Up @@ -978,7 +978,7 @@
<message id="settings-general-language">
<source>Language</source>
<extracomment>settings tab, general section, language label</extracomment>
<translation>Idioma</translation>
<translation type="vanished">Idioma</translation>
</message>
<message id="open-external-open">
<source>Open</source>
Expand Down
2 changes: 1 addition & 1 deletion ui/i18n/fr_FR.ts
Expand Up @@ -979,7 +979,7 @@ Vous essayez de restaurer un portefeuille Beam existant. Veuillez noter que si v
<message id="settings-general-language">
<source>Language</source>
<extracomment>settings tab, general section, language label</extracomment>
<translation>Langue</translation>
<translation type="vanished">Langue</translation>
</message>
<message id="open-external-open">
<source>Open</source>
Expand Down
2 changes: 1 addition & 1 deletion ui/i18n/ko_KR.ts
Expand Up @@ -978,7 +978,7 @@
<message id="settings-general-language">
<source>Language</source>
<extracomment>settings tab, general section, language label</extracomment>
<translation>언어</translation>
<translation type="vanished">언어</translation>
</message>
<message id="open-external-open">
<source>Open</source>
Expand Down
2 changes: 1 addition & 1 deletion ui/i18n/ru_RU.ts
Expand Up @@ -978,7 +978,7 @@
<message id="settings-general-language">
<source>Language</source>
<extracomment>settings tab, general section, language label</extracomment>
<translation>Язык</translation>
<translation type="vanished">Язык</translation>
</message>
<message id="open-external-open">
<source>Open</source>
Expand Down
2 changes: 1 addition & 1 deletion ui/i18n/vi_VI.ts
Expand Up @@ -978,7 +978,7 @@
<message id="settings-general-language">
<source>Language</source>
<extracomment>settings tab, general section, language label</extracomment>
<translation>Ngôn ngữ</translation>
<translation type="vanished">Ngôn ngữ</translation>
</message>
<message id="open-external-open">
<source>Open</source>
Expand Down
2 changes: 1 addition & 1 deletion ui/i18n/zh_CN.ts
Expand Up @@ -978,7 +978,7 @@
<message id="settings-general-language">
<source>Language</source>
<extracomment>settings tab, general section, language label</extracomment>
<translation>语言</translation>
<translation type="vanished">语言</translation>
</message>
<message id="open-external-open">
<source>Open</source>
Expand Down
5 changes: 3 additions & 2 deletions ui/view/loading.qml
Expand Up @@ -4,6 +4,7 @@ import QtQuick.Controls 2.4
import QtQuick.Controls.Styles 1.2
import QtGraphicalEffects 1.0
import "controls"
import "utils.js" as Utils
import Beam.Wallet 1.0
import QtQuick.Layouts 1.3

Expand Down Expand Up @@ -113,7 +114,7 @@ Item
anchors.fill: parent
spacing: 0
Item {
Layout.preferredHeight: parent.height * 0.18
Layout.preferredHeight: Utils.getLogoTopGapSize(parent.height)
}

LogoComponent {
Expand Down Expand Up @@ -176,7 +177,7 @@ Item
}
Row {
Layout.alignment: Qt.AlignHCenter
Layout.topMargin: 25
Layout.topMargin: 20
SFText {
horizontalAlignment: Text.AlignHCenter
width: 548
Expand Down
7 changes: 4 additions & 3 deletions ui/view/start.qml
Expand Up @@ -4,6 +4,7 @@ import QtQuick.Controls 2.4
import QtQuick.Controls.Styles 1.2
import QtGraphicalEffects 1.0
import "controls"
import "utils.js" as Utils
import Beam.Wallet 1.0
import QtQuick.Layouts 1.3

Expand Down Expand Up @@ -110,7 +111,7 @@ Item
anchors.fill: parent
spacing: 0
Item {
Layout.preferredHeight: parent.height * 0.18
Layout.preferredHeight: Utils.getLogoTopGapSize(parent.height)
}

LogoComponent {
Expand Down Expand Up @@ -216,7 +217,7 @@ Item
anchors.fill: parent
spacing: 0
Item {
Layout.preferredHeight: parent.height * 0.18
Layout.preferredHeight: Utils.getLogoTopGapSize(parent.height)
}

LogoComponent {
Expand Down Expand Up @@ -1715,7 +1716,7 @@ Item
anchors.fill: parent
spacing: 0
Item {
Layout.preferredHeight: parent.height * 0.18
Layout.preferredHeight: Utils.getLogoTopGapSize(parent.height)
}

LogoComponent {
Expand Down
4 changes: 4 additions & 0 deletions ui/view/utils.js
Expand Up @@ -13,3 +13,7 @@ function formatDateTime(datetime, localeName) {
+ timeZoneShort
+ ")";
}

function getLogoTopGapSize(parentHeight) {
return parentHeight * (parentHeight < 768 ? 0.13 : 0.18)
}
2 changes: 1 addition & 1 deletion ui/view/wallet.qml
Expand Up @@ -910,7 +910,7 @@ Item {
Layout.fillWidth: true

SFText {
//% "The minimum fee is %1 groth"
//% "The minimum fee is %1 GROTH"
text: qsTrId("send-fee-fail").arg(viewModel.minimumFeeInGroth)
color: Style.validator_error
font.pixelSize: 14
Expand Down

0 comments on commit 96914ac

Please sign in to comment.