summaryrefslogtreecommitdiffstats
path: root/startupscreen/TextButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'startupscreen/TextButton.qml')
-rw-r--r--startupscreen/TextButton.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/startupscreen/TextButton.qml b/startupscreen/TextButton.qml
index e5f11fc..1eb8303 100644
--- a/startupscreen/TextButton.qml
+++ b/startupscreen/TextButton.qml
@@ -52,11 +52,22 @@ import QtQuick
import StartupScreen
Rectangle {
+ id: root
+
property alias fontSize: buttonLabel.font.pixelSize
+ signal pressed()
+
color: "#3a4055"
radius: 0
+ MouseArea {
+ anchors.fill: parent
+ onPressed: root.scale = 0.9
+ onReleased: root.scale = 1.0
+ onClicked: root.pressed()
+ }
+
Text {
id: buttonLabel
color: "white"