mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-05 08:07:25 -04:00
This commit is contained in:
@@ -3,6 +3,8 @@ import QtQuick 2.0
|
||||
Item {
|
||||
id: checkBox
|
||||
property alias text: label.text
|
||||
property string checkedIcon
|
||||
property string uncheckedIcon
|
||||
property bool checked: false
|
||||
signal clicked()
|
||||
height: 25
|
||||
@@ -28,8 +30,8 @@ Item {
|
||||
|
||||
Image {
|
||||
anchors.centerIn: parent
|
||||
source: checkBox.checked ? "../images/checkedIcon.png" :
|
||||
"../images/uncheckedIcon.png"
|
||||
source: checkBox.checked ? checkBox.checkedIcon :
|
||||
checkBox.uncheckedIcon
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ Rectangle {
|
||||
y = (flickable.contentY / (flickable.contentHeight - flickable.height)) * t + yPos
|
||||
}
|
||||
|
||||
width: 12
|
||||
width: 15
|
||||
height: {
|
||||
var t = (flickable.height * flickable.height) / flickable.contentHeight
|
||||
return t < 20 ? 20 : t
|
||||
|
||||
@@ -7,6 +7,7 @@ Rectangle {
|
||||
color: "#000000"
|
||||
y: -height
|
||||
property int mouseX: 0
|
||||
property string walletName: "Donations"
|
||||
property bool containsMouse: false
|
||||
property alias maximizeButtonVisible: maximizeButton.visible
|
||||
signal goToBasicVersion(bool yes)
|
||||
@@ -17,7 +18,7 @@ Rectangle {
|
||||
font.pixelSize: 15
|
||||
font.letterSpacing: -1
|
||||
color: "#FFFFFF"
|
||||
text: qsTr("Monero")
|
||||
text: qsTr("Monero - %1").arg(titleBar.walletName)
|
||||
}
|
||||
|
||||
Behavior on y {
|
||||
|
||||
Reference in New Issue
Block a user