mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
Decreasing menu button height
This commit is contained in:
parent
476b727db1
commit
1ada4f8826
1 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ Rectangle {
|
|||
|
||||
color: checked ? "#FFFFFF" : "#1C1C1C"
|
||||
property bool present: !under || under.checked || checked || under.numSelectedChildren > 0
|
||||
height: present ? ((appWindow.height >= 800) ? 64 * scaleRatio : 52 * scaleRatio ) : 0
|
||||
height: present ? ((appWindow.height >= 800) ? 48 * scaleRatio : 36 * scaleRatio ) : 0
|
||||
|
||||
transform: Scale {
|
||||
yScale: button.present ? 1 : 0
|
||||
|
@ -88,13 +88,13 @@ Rectangle {
|
|||
Rectangle {
|
||||
id: dot
|
||||
anchors.centerIn: parent
|
||||
width: 16 * scaleRatio
|
||||
width: 14 * scaleRatio
|
||||
height: width
|
||||
radius: height / 2
|
||||
|
||||
Rectangle {
|
||||
anchors.centerIn: parent
|
||||
width: 12 * scaleRatio
|
||||
width: 10 * scaleRatio
|
||||
height: width
|
||||
radius: height / 2
|
||||
color: "#1C1C1C"
|
||||
|
@ -135,7 +135,7 @@ Rectangle {
|
|||
anchors.left: parent.left
|
||||
anchors.leftMargin: parent.getOffset() + 50 * scaleRatio
|
||||
font.family: "Arial"
|
||||
font.pixelSize: 18 * scaleRatio
|
||||
font.pixelSize: 16 * scaleRatio
|
||||
color: parent.checked ? "#000000" : "#FFFFFF"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue