Files
qyouvideo/QYRComponents/Button.qml

22 lines
470 B
QML
Raw Normal View History

2025-10-11 02:30:58 +02:00
import QtQuick 6.8
import QtQuick.Controls 6.8 as QC
2025-10-11 17:55:56 +02:00
import QtQuick.Controls.Basic as QC
2025-10-11 02:30:58 +02:00
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;
}
}