Skip to content
Snippets Groups Projects
Commit 94c8cd18 authored by Alexander's avatar Alexander
Browse files

[*] add factor pt to sizes

parent 41babf68
No related branches found
No related tags found
1 merge request!11Cellframe clone
...@@ -7,6 +7,7 @@ RadioButton { ...@@ -7,6 +7,7 @@ RadioButton {
id: button id: button
text: qsTr("template") text: qsTr("template")
contentItem: Text { contentItem: Text {
id: nameButton id: nameButton
anchors.left: parent.left anchors.left: parent.left
...@@ -20,7 +21,7 @@ RadioButton { ...@@ -20,7 +21,7 @@ RadioButton {
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
} }
spacing: 16 spacing: 16 * pt
checked: false checked: false
display: AbstractButton.TextBesideIcon display: AbstractButton.TextBesideIcon
autoExclusive: true autoExclusive: true
......
...@@ -12,7 +12,7 @@ DapUiQmlScreen { ...@@ -12,7 +12,7 @@ DapUiQmlScreen {
Rectangle { Rectangle {
id: wordTextArea id: wordTextArea
height: 30 height: 30 * pt
color: "#757184" color: "#757184"
anchors.rightMargin: 1 anchors.rightMargin: 1
anchors.leftMargin: 1 anchors.leftMargin: 1
...@@ -252,3 +252,8 @@ DapUiQmlScreen { ...@@ -252,3 +252,8 @@ DapUiQmlScreen {
} }
} }
/*##^##
Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/
...@@ -40,10 +40,10 @@ DapUiQmlScreen { ...@@ -40,10 +40,10 @@ DapUiQmlScreen {
Rectangle { Rectangle {
id: inputNameWalletArea id: inputNameWalletArea
height: 68 height: 68 * pt
color: "#F8F7FA" color: "#F8F7FA"
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 1 anchors.leftMargin: 1 * pt
anchors.right: parent.right anchors.right: parent.right
anchors.top: nameWalletTextArea.bottom anchors.top: nameWalletTextArea.bottom
...@@ -52,7 +52,7 @@ DapUiQmlScreen { ...@@ -52,7 +52,7 @@ DapUiQmlScreen {
text: qsTr("Pocket of happiness") text: qsTr("Pocket of happiness")
anchors.left: parent.left anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: 20 anchors.leftMargin: 20 * pt
font.pixelSize: 16 * pt font.pixelSize: 16 * pt
color: "#070023" color: "#070023"
font.family: "Roboto" font.family: "Roboto"
...@@ -64,12 +64,12 @@ DapUiQmlScreen { ...@@ -64,12 +64,12 @@ DapUiQmlScreen {
Rectangle { Rectangle {
id: chooseSignatureTypeTextArea id: chooseSignatureTypeTextArea
height: 30 height: 30 * pt
color: "#757184" color: "#757184"
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: 0 anchors.rightMargin: 0
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 1 anchors.leftMargin: 1 * pt
anchors.top: inputNameWalletArea.bottom anchors.top: inputNameWalletArea.bottom
Text { Text {
...@@ -77,7 +77,7 @@ DapUiQmlScreen { ...@@ -77,7 +77,7 @@ DapUiQmlScreen {
color: "#ffffff" color: "#ffffff"
text: qsTr("Choose signature type") text: qsTr("Choose signature type")
font.pixelSize: 12 * pt font.pixelSize: 12 * pt
anchors.leftMargin: 16 anchors.leftMargin: 16 * pt
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
font.styleName: "Normal" font.styleName: "Normal"
font.family: "Roboto" font.family: "Roboto"
...@@ -89,33 +89,33 @@ DapUiQmlScreen { ...@@ -89,33 +89,33 @@ DapUiQmlScreen {
Rectangle { Rectangle {
id: chooseSignatureTypeArea id: chooseSignatureTypeArea
height: 68 height: 68 * pt
color: "#F8F7FA" color: "#F8F7FA"
anchors.leftMargin: 1 anchors.leftMargin: 1 * pt
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.top: chooseSignatureTypeTextArea.bottom anchors.top: chooseSignatureTypeTextArea.bottom
DapUiQmlWidgetSignatureTypeComboBox { DapUiQmlWidgetSignatureTypeComboBox {
id: comboBoxChooseSignatureType id: comboBoxChooseSignatureType
width: 368 width: 368 * pt
height: 20 height: 20 * pt
anchors { anchors {
verticalCenter: chooseSignatureTypeArea.verticalCenter verticalCenter: chooseSignatureTypeArea.verticalCenter
fill: parent fill: parent
topMargin: 24 topMargin: 24 * pt
bottomMargin: 24 bottomMargin: 24 * pt
leftMargin: 8 leftMargin: 8 * pt
rightMargin: 32 rightMargin: 32 * pt
} }
} }
} }
Rectangle { Rectangle {
id: recoveryMethodTextArea id: recoveryMethodTextArea
height: 30 height: 30 * pt
color: "#757184" color: "#757184"
anchors.leftMargin: 1 anchors.leftMargin: 1 * pt
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.top: chooseSignatureTypeArea.bottom anchors.top: chooseSignatureTypeArea.bottom
...@@ -130,19 +130,19 @@ DapUiQmlScreen { ...@@ -130,19 +130,19 @@ DapUiQmlScreen {
anchors.left: parent.left anchors.left: parent.left
font.pixelSize: 12 * pt font.pixelSize: 12 * pt
horizontalAlignment: Text.AlignLeft horizontalAlignment: Text.AlignLeft
anchors.leftMargin: 16 anchors.leftMargin: 16 * pt
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
} }
ColumnLayout { ColumnLayout {
id: chooseRecoveryMethod id: chooseRecoveryMethod
height: 272 height: 272 * pt
spacing: 32 spacing: 32 * pt
anchors.top: recoveryMethodTextArea.bottom anchors.top: recoveryMethodTextArea.bottom
anchors.topMargin: 32 anchors.topMargin: 32 * pt
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: 16 anchors.leftMargin: 16 * pt
anchors.right: parent.right anchors.right: parent.right
Layout.alignment: Qt.AlignLeft | Qt.AlignTop Layout.alignment: Qt.AlignLeft | Qt.AlignTop
...@@ -170,11 +170,11 @@ DapUiQmlScreen { ...@@ -170,11 +170,11 @@ DapUiQmlScreen {
Button { Button {
id: nextButton id: nextButton
height: 44 height: 44 * pt
width: 130 width: 130 * pt
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
anchors.top: chooseRecoveryMethod.bottom anchors.top: chooseRecoveryMethod.bottom
anchors.topMargin: 32 anchors.topMargin: 32 * pt
hoverEnabled: true hoverEnabled: true
contentItem: Text { contentItem: Text {
......
...@@ -26,7 +26,7 @@ DapUiQmlWidgetStatusBarComboBox { ...@@ -26,7 +26,7 @@ DapUiQmlWidgetStatusBarComboBox {
heightArrow: 20 * pt heightArrow: 20 * pt
font { font {
pointSize: 16 pointSize: 16 * pt
family: "Roboto" family: "Roboto"
styleName: "Normal" styleName: "Normal"
weight: Font.Normal weight: Font.Normal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment