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

[*] add new custom and default values to combobox

parent 97481048
No related branches found
No related tags found
1 merge request!49Features 2608
...@@ -63,7 +63,11 @@ Rectangle { ...@@ -63,7 +63,11 @@ Rectangle {
DapUiQmlWidgetStatusBarButtonForm { DapUiQmlWidgetStatusBarButtonForm {
id: statusBarAddWalletButton id: statusBarAddWalletButton
width: 130 * pt width: 120 * pt
height: 36 * pt
name: qsTr("New wallet")
fontHeight: 14 * pt
backgroundColor: "#070023"
anchors.right: parent.right anchors.right: parent.right
anchors.top: parent.top anchors.top: parent.top
anchors.topMargin: 10 * pt anchors.topMargin: 10 * pt
......
...@@ -2,21 +2,32 @@ import QtQuick 2.0 ...@@ -2,21 +2,32 @@ import QtQuick 2.0
import QtQuick.Controls 2.5 import QtQuick.Controls 2.5
Button { Button {
property alias name: templateText.text
property alias fontHeight: templateText.font.pixelSize
property alias backgroundColor: background.color
property int defaultHeight: 50 * pt
property int defaultWidth: 100 * pt
id: button id: button
width: defaultHeight
height: defaultWidth
contentItem: Rectangle { contentItem: Rectangle {
id: background
anchors.fill: parent anchors.fill: parent
border.color: "#B5B5B5"
border.width: 1 * pt
color: "transparent" color: "transparent"
Text { Text {
id: templateText
anchors.fill: parent anchors.fill: parent
verticalAlignment: Qt.AlignVCenter verticalAlignment: Qt.AlignVCenter
horizontalAlignment: Qt.AlignRight horizontalAlignment: Qt.AlignRight
anchors.rightMargin: 20 * pt anchors.rightMargin: 20 * pt
font.family: "Regular" font.family: "Roboto"
color: "#505559" font.weight: Font.Normal
text: qsTr("New wallet") color: "#FFFFFF"
text: qsTr("template")
} }
Image { Image {
......
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