22 lines
470 B
QML
Executable File
22 lines
470 B
QML
Executable File
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;
|
|
}
|
|
}
|