Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 18s
Python / test (pull_request) Successful in 46s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m39s
C++ / build (pull_request) Successful in 2m26s
32 lines
547 B
QML
32 lines
547 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import QtQuick.Layouts
|
|
import qs.Config
|
|
import qs.Modules.Settings.Common
|
|
|
|
PageBase {
|
|
id: root
|
|
|
|
isSubPage: true
|
|
title: qsTr("Tray")
|
|
|
|
ColumnLayout {
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
anchors.top: parent.top
|
|
spacing: Appearance.spacing.extraSmall / 2
|
|
width: root.cappedWidth
|
|
|
|
SpinRow {
|
|
first: true
|
|
from: 12
|
|
last: true
|
|
stepSize: 1
|
|
text: qsTr("Icon size")
|
|
to: 24
|
|
value: Config.bar.tray.trayIconSize
|
|
|
|
onMoved: value => Config.bar.tray.trayIconSize = value
|
|
}
|
|
}
|
|
}
|