forked from ghostfox/qyouradio
Move project files to repo root
This commit is contained in:
21
QYRComponents/Button.qml
Executable file
21
QYRComponents/Button.qml
Executable file
@@ -0,0 +1,21 @@
|
||||
import QtQuick 6.8
|
||||
import QtQuick.Controls 6.8 as QC
|
||||
import QtQuick.Controls.Basic as QC
|
||||
|
||||
QC.Button {
|
||||
// highlighted: true
|
||||
background: Rectangle {
|
||||
color: hovered ? Colors.primaryAlt : Colors.primary
|
||||
radius: 5
|
||||
}
|
||||
|
||||
// width: player.playing ? 60 : 56
|
||||
implicitHeight: 36
|
||||
|
||||
|
||||
Component.onCompleted: {
|
||||
contentItem.color = Colors.text;
|
||||
font.family = Colors.fontFamily;
|
||||
font.pointSize = Colors.fontSize.base;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user