minor fixess
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.12
|
||||
|
||||
Button {
|
||||
id: control
|
||||
implicitHeight: 44
|
||||
|
||||
background: Rectangle {
|
||||
implicitHeight: 44
|
||||
implicitWidth: parent.width
|
||||
radius: 4
|
||||
color: control.down ? "#3a3a54"
|
||||
: (control.hovered ? "#353550" : "#2a2a40")
|
||||
}
|
||||
|
||||
contentItem: Text {
|
||||
text: control.text
|
||||
font: control.font
|
||||
opacity: enabled ? 1.0 : 0.5
|
||||
color: "#ffffff"
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user