mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 15:29:27 -05:00
32 lines
765 B
QML
32 lines
765 B
QML
import "root:/modules/common/widgets/"
|
|
import "root:/modules/common/"
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls
|
|
|
|
RowLayout {
|
|
id: root
|
|
property string text: ""
|
|
property alias value: spinBoxWidget.value
|
|
property alias stepSize: spinBoxWidget.stepSize
|
|
property alias from: spinBoxWidget.from
|
|
property alias to: spinBoxWidget.to
|
|
spacing: 10
|
|
Layout.leftMargin: 8
|
|
Layout.rightMargin: 8
|
|
|
|
StyledText {
|
|
id: labelWidget
|
|
Layout.fillWidth: true
|
|
text: root.text
|
|
font.pixelSize: Appearance.font.pixelSize.small
|
|
color: Appearance.colors.colOnSecondaryContainer
|
|
}
|
|
|
|
StyledSpinBox {
|
|
id: spinBoxWidget
|
|
Layout.fillWidth: false
|
|
value: root.value
|
|
}
|
|
}
|