mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-01 19:18:28 -04:00
theme: sweep everything that isnt using a spacing token from singleton,
add Theme.XXS
This commit is contained in:
@@ -1250,6 +1250,7 @@ Singleton {
|
||||
return typeof SettingsData !== "undefined" ? SettingsData.fontScale : 1.0;
|
||||
}
|
||||
|
||||
property real spacingXXS: 2
|
||||
property real spacingXS: 4
|
||||
property real spacingS: 8
|
||||
property real spacingM: 12
|
||||
|
||||
@@ -253,7 +253,7 @@ DankModal {
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Theme.spacingS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
@@ -224,7 +224,7 @@ DankModal {
|
||||
|
||||
Column {
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Passkey:")
|
||||
|
||||
@@ -48,7 +48,7 @@ Rectangle {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - root.iconContainerSize - Theme.spacingS
|
||||
|
||||
StyledText {
|
||||
|
||||
@@ -24,7 +24,7 @@ Rectangle {
|
||||
Column {
|
||||
width: parent.width - Theme.spacingL * 2
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: keyboardHints.enterToPaste ? I18n.tr("↑/↓: Navigate • Enter: Paste • Ctrl+C: Copy • Del: Delete • Ctrl+E: Edit • Ctrl+S: Pin/Unpin • F10: Help", "Keyboard hints when enter-to-paste is enabled") : I18n.tr("↑/↓: Navigate • Enter/Ctrl+C: Copy • Del: Delete • Ctrl+E: Edit • Ctrl+S: Pin/Unpin • F10: Help")
|
||||
|
||||
@@ -351,7 +351,7 @@ FocusScope {
|
||||
anchors.leftMargin: Theme.spacingM
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
layoutDirection: I18n.isRtl ? Qt.RightToLeft : Qt.LeftToRight
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Repeater {
|
||||
model: [
|
||||
@@ -639,7 +639,7 @@ FocusScope {
|
||||
Row {
|
||||
id: typeChips
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: DSearchService.supportsTypeFilter
|
||||
|
||||
Repeater {
|
||||
@@ -878,7 +878,7 @@ FocusScope {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Edit App")
|
||||
@@ -915,7 +915,7 @@ FocusScope {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Name")
|
||||
@@ -935,7 +935,7 @@ FocusScope {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Icon")
|
||||
@@ -955,7 +955,7 @@ FocusScope {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Description")
|
||||
@@ -975,7 +975,7 @@ FocusScope {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Environment Variables")
|
||||
@@ -1001,7 +1001,7 @@ FocusScope {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Extra Arguments")
|
||||
|
||||
@@ -50,7 +50,7 @@ Item {
|
||||
id: listComponent
|
||||
|
||||
Column {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
width: contentLoader.width
|
||||
|
||||
Repeater {
|
||||
@@ -83,7 +83,7 @@ Item {
|
||||
|
||||
Flow {
|
||||
width: contentLoader.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Repeater {
|
||||
model: ScriptModel {
|
||||
|
||||
@@ -169,7 +169,7 @@ Rectangle {
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
model: root.controller?.appCategories ?? []
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
clip: true
|
||||
interactive: contentHeight > height
|
||||
implicitHeight: contentHeight
|
||||
@@ -246,7 +246,7 @@ Rectangle {
|
||||
Row {
|
||||
id: viewModeRow
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: root.canChangeViewMode && !root.section?.collapsed
|
||||
|
||||
Repeater {
|
||||
|
||||
@@ -150,7 +150,7 @@ Rectangle {
|
||||
anchors.right: previewFrame.visible ? previewFrame.left : metaRow.left
|
||||
anchors.rightMargin: Theme.spacingM
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
id: nameText
|
||||
|
||||
@@ -143,7 +143,7 @@ Item {
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: Math.min(420, root.width - 88)
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
width: parent.width
|
||||
|
||||
@@ -804,7 +804,7 @@ FocusScope {
|
||||
anchors.topMargin: Theme.spacingS
|
||||
anchors.bottomMargin: Theme.spacingS
|
||||
visible: viewMode === "list"
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
model: folderModel
|
||||
currentIndex: selectedIndex
|
||||
onCurrentIndexChanged: {
|
||||
|
||||
@@ -16,7 +16,7 @@ StyledRect {
|
||||
Column {
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Quick Access")
|
||||
|
||||
@@ -20,7 +20,7 @@ Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Tab/Shift+Tab: Nav • ←→↑↓: Grid Nav • Enter/Space: Select")
|
||||
|
||||
@@ -99,7 +99,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("You're All Set!", "greeter completion page title")
|
||||
|
||||
@@ -209,7 +209,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("System Check", "greeter doctor page title")
|
||||
|
||||
@@ -45,7 +45,7 @@ Rectangle {
|
||||
|
||||
Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: root.title
|
||||
|
||||
@@ -48,7 +48,7 @@ Rectangle {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - root.iconContainerSize - Theme.spacingM
|
||||
|
||||
StyledText {
|
||||
|
||||
@@ -361,7 +361,7 @@ DankModal {
|
||||
|
||||
Column {
|
||||
Layout.fillWidth: true
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("New Session")
|
||||
@@ -449,7 +449,7 @@ DankModal {
|
||||
// Info
|
||||
Column {
|
||||
Layout.fillWidth: true
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.name
|
||||
@@ -601,7 +601,7 @@ DankModal {
|
||||
|
||||
delegate: Row {
|
||||
required property var modelData
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Rectangle {
|
||||
width: keyText.width + Theme.spacingS
|
||||
|
||||
@@ -300,7 +300,7 @@ FloatingWindow {
|
||||
spacing: Theme.spacingM
|
||||
|
||||
Row {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Repeater {
|
||||
model: [
|
||||
|
||||
@@ -52,7 +52,7 @@ Rectangle {
|
||||
|
||||
Row {
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Rectangle {
|
||||
width: 28
|
||||
|
||||
@@ -711,7 +711,7 @@ Rectangle {
|
||||
rightPadding: Theme.spacingS
|
||||
bottomPadding: Theme.spacingL
|
||||
topPadding: Theme.spacingM + 2
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
ProfileSection {
|
||||
width: parent.width - parent.leftPadding - parent.rightPadding
|
||||
@@ -804,7 +804,7 @@ Rectangle {
|
||||
Column {
|
||||
id: searchResultsColumn
|
||||
width: parent.width - parent.leftPadding - parent.rightPadding
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: root.searchActive
|
||||
|
||||
Item {
|
||||
@@ -859,7 +859,7 @@ Rectangle {
|
||||
Column {
|
||||
width: parent.width - Theme.iconSize - Theme.spacingM
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: resultDelegate.modelData.label
|
||||
@@ -928,7 +928,7 @@ Rectangle {
|
||||
|
||||
width: parent.width - parent.leftPadding - parent.rightPadding
|
||||
visible: !root.searchActive && root.isCategoryVisible(modelData)
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
@@ -1035,7 +1035,7 @@ Rectangle {
|
||||
Column {
|
||||
id: childrenColumn
|
||||
width: parent.width
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: categoryDelegate.modelData.children !== undefined && root.isCategoryExpanded(categoryDelegate.modelData.id)
|
||||
clip: true
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ DankModal {
|
||||
|
||||
Column {
|
||||
width: parent.width - Theme.iconSize - 4 - chevron.width - Theme.spacingM * 2
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
StyledText {
|
||||
@@ -215,7 +215,7 @@ DankModal {
|
||||
Column {
|
||||
id: bodyCol
|
||||
width: parent.width - Theme.iconSize - Theme.spacingM
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("No other active sessions on this seat")
|
||||
|
||||
@@ -447,7 +447,7 @@ Item {
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
|
||||
@@ -274,7 +274,7 @@ PluginComponent {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
Layout.fillWidth: true
|
||||
|
||||
|
||||
@@ -234,7 +234,7 @@ PluginComponent {
|
||||
|
||||
verticalBarPill: Component {
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
DankIcon {
|
||||
name: "monitor"
|
||||
color: Theme.primary
|
||||
|
||||
@@ -344,7 +344,7 @@ PluginComponent {
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
RowLayout {
|
||||
width: parent.width
|
||||
@@ -419,7 +419,7 @@ PluginComponent {
|
||||
Column {
|
||||
visible: isExpanded
|
||||
width: parent.width
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
topPadding: 4
|
||||
|
||||
RowLayout {
|
||||
|
||||
@@ -74,7 +74,7 @@ Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Typography {
|
||||
width: parent.width
|
||||
|
||||
@@ -24,7 +24,7 @@ Rectangle {
|
||||
id: menuColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankToggle {
|
||||
width: parent.width
|
||||
|
||||
@@ -170,7 +170,7 @@ Row {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - Theme.iconSize * 2 - Theme.spacingM * 3
|
||||
|
||||
Typography {
|
||||
|
||||
@@ -51,7 +51,7 @@ Rectangle {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Typography {
|
||||
text: UserInfoService.fullName || UserInfoService.username || I18n.tr("User")
|
||||
|
||||
@@ -13,7 +13,7 @@ Row {
|
||||
|
||||
readonly property var availableSizes: isSlider ? [50, 75, 100] : [25, 50, 75, 100]
|
||||
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Repeater {
|
||||
model: root.availableSizes
|
||||
|
||||
@@ -279,7 +279,7 @@ Rectangle {
|
||||
Row {
|
||||
id: pinInputRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankIcon {
|
||||
name: "push_pin"
|
||||
|
||||
@@ -288,7 +288,7 @@ Rectangle {
|
||||
Row {
|
||||
id: pinOutputRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankIcon {
|
||||
name: "push_pin"
|
||||
|
||||
@@ -197,7 +197,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: device ? (device.name || device.deviceName) : ""
|
||||
@@ -266,7 +266,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.name
|
||||
|
||||
@@ -344,7 +344,7 @@ Rectangle {
|
||||
Row {
|
||||
id: pinBluetoothRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankIcon {
|
||||
name: "push_pin"
|
||||
|
||||
@@ -226,7 +226,7 @@ Rectangle {
|
||||
Row {
|
||||
id: globalPinRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankIcon {
|
||||
name: "push_pin"
|
||||
@@ -304,7 +304,7 @@ Rectangle {
|
||||
Column {
|
||||
id: deviceIconColumn
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
name: {
|
||||
@@ -502,7 +502,7 @@ Rectangle {
|
||||
|
||||
Row {
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankIcon {
|
||||
name: "show_chart"
|
||||
|
||||
@@ -91,7 +91,7 @@ Rectangle {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
name: "storage"
|
||||
|
||||
@@ -107,7 +107,7 @@ Rectangle {
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: parent.width - Theme.iconSizeLarge - Theme.spacingM
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Silence notifications")
|
||||
|
||||
@@ -683,7 +683,7 @@ Rectangle {
|
||||
Row {
|
||||
id: pinWifiRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankIcon {
|
||||
name: "push_pin"
|
||||
|
||||
@@ -146,7 +146,7 @@ Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
width: parent.width
|
||||
|
||||
@@ -60,7 +60,7 @@ Rectangle {
|
||||
|
||||
Row {
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankIcon {
|
||||
name: BatteryService.getBatteryIcon()
|
||||
|
||||
@@ -82,7 +82,7 @@ Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
width: parent.width
|
||||
|
||||
@@ -447,7 +447,7 @@ DankPopout {
|
||||
|
||||
Column {
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Health")
|
||||
@@ -484,7 +484,7 @@ DankPopout {
|
||||
|
||||
Column {
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Capacity")
|
||||
@@ -513,7 +513,7 @@ DankPopout {
|
||||
|
||||
Column {
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.state === UPowerDeviceState.Charging ? I18n.tr("To Full") : modelData.state === UPowerDeviceState.Discharging ? I18n.tr("Left") : ""
|
||||
|
||||
@@ -245,7 +245,7 @@ DankPopout {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: root.getLayoutName(modelData)
|
||||
|
||||
@@ -351,7 +351,7 @@ DankPopout {
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: parent.width - 64 - Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
width: parent.width
|
||||
@@ -364,7 +364,7 @@ DankPopout {
|
||||
|
||||
Row {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: {
|
||||
|
||||
@@ -755,7 +755,7 @@ BasePill {
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 1
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
id: audioIcon
|
||||
@@ -792,7 +792,7 @@ BasePill {
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 1
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
id: micIcon
|
||||
@@ -829,7 +829,7 @@ BasePill {
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 1
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
id: brightnessIcon
|
||||
|
||||
@@ -34,7 +34,7 @@ BasePill {
|
||||
Column {
|
||||
id: contentColumn
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: root.isVerticalOrientation
|
||||
|
||||
DankIcon {
|
||||
@@ -88,7 +88,7 @@ BasePill {
|
||||
|
||||
Row {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: "↓"
|
||||
@@ -117,7 +117,7 @@ BasePill {
|
||||
|
||||
Row {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: "↑"
|
||||
|
||||
@@ -1331,7 +1331,7 @@ BasePill {
|
||||
anchors.verticalCenter: menuContainer.popupUsesVerticalLine ? undefined : parent.verticalCenter
|
||||
anchors.horizontalCenter: menuContainer.popupUsesVerticalLine ? parent.horizontalCenter : undefined
|
||||
columns: menuContainer.popupUsesVerticalLine ? 1 : (root.useSingleLineOverflowPopup ? root.hiddenBarItems.length : Math.min(5, root.hiddenBarItems.length))
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
rowSpacing: 2
|
||||
|
||||
Repeater {
|
||||
|
||||
@@ -1572,7 +1572,7 @@ Item {
|
||||
Component {
|
||||
id: rowLayout
|
||||
Row {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
visible: loadedIcons.length > 0 || SettingsData.showWorkspaceIndex || SettingsData.showWorkspaceName || loadedHasIcon
|
||||
|
||||
Item {
|
||||
@@ -1759,7 +1759,7 @@ Item {
|
||||
Component {
|
||||
id: columnLayout
|
||||
Column {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
visible: loadedIcons.length > 0 || SettingsData.showWorkspaceIndex || SettingsData.showWorkspaceName || loadedHasIcon
|
||||
|
||||
DankIcon {
|
||||
|
||||
@@ -455,7 +455,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.verticalCenterOffset: parent.height * 0.2
|
||||
|
||||
@@ -582,7 +582,7 @@ Rectangle {
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottomMargin: 3
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: CalendarService && CalendarService.calendarAvailable && CalendarService.hasEventsForDate(dayDate)
|
||||
|
||||
Repeater {
|
||||
@@ -965,7 +965,7 @@ Rectangle {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.leftMargin: (modelData && modelData.id && modelData.id.startsWith("task_")) ? 60 : (Theme.spacingS + 6)
|
||||
anchors.rightMargin: (modelData && modelData.id && modelData.id.startsWith("task_")) ? 64 : Theme.spacingXS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: !taskItem.isEditing
|
||||
|
||||
StyledText {
|
||||
|
||||
@@ -154,7 +154,7 @@ Rectangle {
|
||||
|
||||
Column {
|
||||
id: detailsColumn
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
visible: !root.dense
|
||||
width: implicitWidth
|
||||
|
||||
@@ -183,7 +183,7 @@ Rectangle {
|
||||
Repeater {
|
||||
model: root.values.length
|
||||
Row {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
name: root.values[index].icon
|
||||
|
||||
@@ -349,7 +349,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.label
|
||||
|
||||
@@ -556,7 +556,7 @@ Item {
|
||||
id: rowIndicator
|
||||
|
||||
Row {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Repeater {
|
||||
model: {
|
||||
@@ -614,7 +614,7 @@ Item {
|
||||
id: columnIndicator
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Repeater {
|
||||
model: {
|
||||
|
||||
@@ -1448,7 +1448,7 @@ Item {
|
||||
|
||||
Row {
|
||||
id: keyboardLayoutRow
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Item {
|
||||
width: Theme.iconSize
|
||||
@@ -1518,7 +1518,7 @@ Item {
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 6
|
||||
spacing: Theme.spacingXS
|
||||
visible: GreetdSettings.weatherEnabled && WeatherService.weather.available
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
@@ -1597,7 +1597,7 @@ Item {
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
visible: BatteryService.batteryAvailable
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
|
||||
@@ -667,7 +667,7 @@ Item {
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Row {
|
||||
width: parent.width
|
||||
@@ -1246,7 +1246,7 @@ Item {
|
||||
anchors.top: passwordLayout.bottom
|
||||
anchors.topMargin: Theme.spacingS
|
||||
anchors.horizontalCenter: passwordLayout.horizontalCenter
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
opacity: DMSService.capsLockState ? 1 : 0
|
||||
|
||||
DankIcon {
|
||||
@@ -1304,7 +1304,7 @@ Item {
|
||||
|
||||
Row {
|
||||
id: keyboardLayoutRow
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Item {
|
||||
width: Theme.iconSize
|
||||
@@ -1546,7 +1546,7 @@ Item {
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 6
|
||||
spacing: Theme.spacingXS
|
||||
visible: WeatherService.weather.available
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
@@ -1664,7 +1664,7 @@ Item {
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
visible: BatteryService.batteryAvailable
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
|
||||
@@ -537,7 +537,7 @@ Item {
|
||||
width: parent.width - Theme.spacingL * 2
|
||||
anchors.top: shortcutsHeader.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
width: parent.width
|
||||
|
||||
@@ -20,7 +20,7 @@ Rectangle {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("↑/↓: Nav • Space: Expand • Enter: Action/Expand • E: Text")
|
||||
|
||||
@@ -248,7 +248,7 @@ Rectangle {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: overlayRow.width - Theme.iconSizeSmall - Theme.spacingM
|
||||
|
||||
@@ -299,7 +299,7 @@ Rectangle {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: privacyRow.width - Theme.iconSizeSmall - Theme.spacingM
|
||||
|
||||
|
||||
@@ -261,7 +261,7 @@ DankOSD {
|
||||
x: parent.gap * 2 + Theme.iconSize
|
||||
width: parent.width - Theme.iconSize - parent.gap * 3
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 3
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
id: topText
|
||||
|
||||
@@ -148,7 +148,7 @@ Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
clip: true
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
model: DgopService.diskMounts
|
||||
|
||||
|
||||
@@ -299,7 +299,7 @@ Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
clip: true
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
states: [
|
||||
State {
|
||||
@@ -410,7 +410,7 @@ Item {
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: Theme.spacingS
|
||||
anchors.rightMargin: Theme.spacingS
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: headerItem.alignment === Text.AlignLeft
|
||||
|
||||
@@ -134,7 +134,7 @@ Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
clip: true
|
||||
spacing: 8
|
||||
spacing: Theme.spacingS
|
||||
|
||||
model: DgopService.availableGpus
|
||||
|
||||
|
||||
@@ -642,7 +642,7 @@ Item {
|
||||
spacing: Theme.spacingL
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Version")
|
||||
@@ -667,7 +667,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("API")
|
||||
@@ -692,7 +692,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Status")
|
||||
@@ -702,7 +702,7 @@ Item {
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Rectangle {
|
||||
width: 8
|
||||
@@ -738,7 +738,7 @@ Item {
|
||||
|
||||
Flow {
|
||||
width: parent.width
|
||||
spacing: 6
|
||||
spacing: Theme.spacingS
|
||||
|
||||
Repeater {
|
||||
model: DMSService.capabilities
|
||||
|
||||
@@ -575,7 +575,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width - Theme.iconSize - Theme.spacingM - 8
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Set Custom Device Name", "Audio device rename dialog title")
|
||||
|
||||
@@ -701,7 +701,7 @@ Item {
|
||||
Column {
|
||||
width: parent.width - 20 - Theme.spacingM - 24 - Theme.spacingM - Theme.spacingM - 60 - Theme.spacingM - 32 - Theme.spacingS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
width: parent.width
|
||||
|
||||
@@ -502,7 +502,7 @@ Item {
|
||||
anchors.right: visibilityButton.left
|
||||
anchors.rightMargin: Theme.spacingM
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: rowItem.present.text
|
||||
|
||||
@@ -350,7 +350,7 @@ FloatingWindow {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - 44 - Theme.iconSize - Theme.spacingM * 3
|
||||
|
||||
Row {
|
||||
@@ -376,7 +376,7 @@ FloatingWindow {
|
||||
Row {
|
||||
id: featuredWidgetRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
name: "star"
|
||||
|
||||
@@ -91,7 +91,7 @@ SettingsCard {
|
||||
}
|
||||
|
||||
contentItem: Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
|
||||
@@ -453,7 +453,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: parent.width - 40 - Theme.spacingM
|
||||
|
||||
@@ -495,7 +495,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: parent.width - 40 - Theme.spacingM
|
||||
|
||||
@@ -537,7 +537,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: parent.width - 40 - Theme.spacingM
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ Rectangle {
|
||||
|
||||
Column {
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
name: root.isConnected ? "desktop_windows" : "desktop_access_disabled"
|
||||
|
||||
@@ -51,7 +51,7 @@ StyledRect {
|
||||
|
||||
Column {
|
||||
width: parent.width - Theme.iconSize - Theme.spacingM - (disconnectedBadge.visible ? disconnectedBadge.width + deleteButton.width + Theme.spacingS * 2 : disabledBadge.visible ? disabledBadge.width + Theme.spacingS : 0)
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: DisplayConfigState.getOutputDisplayName(root.outputData, root.outputName)
|
||||
|
||||
@@ -378,7 +378,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: {
|
||||
|
||||
@@ -636,7 +636,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
StyledText {
|
||||
|
||||
@@ -127,7 +127,7 @@ Item {
|
||||
Column {
|
||||
width: Math.max(0, parent.width - Theme.iconSize - defaultShortcutValue.width - Theme.spacingM * 2)
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Default Launcher Shortcut")
|
||||
@@ -221,7 +221,7 @@ Item {
|
||||
Column {
|
||||
width: Math.max(0, parent.width - Theme.iconSize - spotlightShortcutValue.width - Theme.spacingM * 2)
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Spotlight Bar Shortcut")
|
||||
@@ -806,7 +806,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: pluginDelegate.plugin?.name ?? pluginDelegate.modelData
|
||||
@@ -989,7 +989,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Row {
|
||||
spacing: Theme.spacingS
|
||||
@@ -1244,7 +1244,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.name
|
||||
@@ -1355,7 +1355,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.name
|
||||
@@ -1501,7 +1501,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.name || I18n.tr("Unknown App")
|
||||
|
||||
@@ -76,7 +76,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
visible: NetworkService.ethernetDevices.length > 0
|
||||
|
||||
StyledText {
|
||||
@@ -139,7 +139,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - 20 - Theme.spacingS
|
||||
|
||||
StyledText {
|
||||
@@ -422,7 +422,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.id || I18n.tr("Unknown")
|
||||
|
||||
@@ -229,7 +229,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
visible: DMSNetworkService.vpnAvailable && DMSNetworkService.profiles.length > 0
|
||||
|
||||
Repeater {
|
||||
@@ -290,7 +290,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: parent.width - 20 - ((canExpand ? 28 : 0) + (canDelete ? 28 : 0)) - Theme.spacingS * 4
|
||||
|
||||
|
||||
@@ -430,7 +430,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
visible: (NetworkService.wifiNetworks?.length ?? 0) > 0
|
||||
|
||||
Repeater {
|
||||
@@ -526,7 +526,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - 20 - Theme.spacingS
|
||||
|
||||
Row {
|
||||
@@ -859,7 +859,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Repeater {
|
||||
model: savedWifiCard.expanded ? savedWifiCard.savedNetworks : []
|
||||
@@ -935,7 +935,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - 20 - Theme.spacingS
|
||||
|
||||
Row {
|
||||
|
||||
@@ -561,7 +561,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Pattern")
|
||||
@@ -584,7 +584,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: (parent.width - Theme.spacingS * 3) / 4
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Field")
|
||||
@@ -605,7 +605,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: (parent.width - Theme.spacingS * 3) / 4
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Type")
|
||||
@@ -625,7 +625,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: (parent.width - Theme.spacingS * 3) / 4
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Action")
|
||||
@@ -646,7 +646,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: (parent.width - Theme.spacingS * 3) / 4
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Priority")
|
||||
|
||||
@@ -930,7 +930,7 @@ FloatingWindow {
|
||||
|
||||
Column {
|
||||
width: parent.width - Theme.iconSize - Theme.spacingM - installButton.width - Theme.spacingM
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Row {
|
||||
spacing: Theme.spacingXS
|
||||
@@ -957,7 +957,7 @@ FloatingWindow {
|
||||
Row {
|
||||
id: featuredRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
name: "star"
|
||||
@@ -1053,7 +1053,7 @@ FloatingWindow {
|
||||
Row {
|
||||
id: upvoteRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
name: "thumb_up"
|
||||
|
||||
@@ -114,7 +114,7 @@ StyledRect {
|
||||
|
||||
Row {
|
||||
anchors.centerIn: parent
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankIcon {
|
||||
id: incompatIcon
|
||||
|
||||
@@ -930,7 +930,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
visible: CupsService.printerNames.length > 0
|
||||
|
||||
Repeater {
|
||||
@@ -987,7 +987,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - 20 - Theme.spacingS
|
||||
|
||||
StyledText {
|
||||
@@ -1453,7 +1453,7 @@ Item {
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Theme.spacingS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Rectangle {
|
||||
width: 24
|
||||
@@ -1601,7 +1601,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Repeater {
|
||||
model: CupsService.printerClasses
|
||||
@@ -1632,7 +1632,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.name || I18n.tr("Unknown")
|
||||
|
||||
@@ -81,7 +81,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: (parent.width - deleteBtn.width - Theme.spacingS) / 2
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Pattern")
|
||||
@@ -100,7 +100,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: (parent.width - deleteBtn.width - Theme.spacingS) / 2
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Replacement")
|
||||
@@ -148,7 +148,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: 120
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("Type")
|
||||
|
||||
@@ -425,7 +425,7 @@ FloatingWindow {
|
||||
|
||||
Column {
|
||||
width: parent.width - (hasPreview ? 180 : 48) - Theme.spacingM - installButton.width - Theme.spacingM
|
||||
spacing: 6
|
||||
spacing: Theme.spacingXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
Row {
|
||||
|
||||
@@ -1415,7 +1415,7 @@ Item {
|
||||
width: parent.width - Theme.spacingM * 2
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: (parent.width - Theme.spacingL * 2) / 3
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
@@ -1450,7 +1450,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: (parent.width - Theme.spacingL * 2) / 3
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
@@ -1485,7 +1485,7 @@ Item {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: (parent.width - Theme.spacingL * 2) / 3
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
visible: SessionData.themeModeAutoEnabled && SessionData.themeModeNextTransition
|
||||
|
||||
@@ -350,7 +350,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: (parent.width - Theme.spacingL) / 2
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("• d - Day (1-31)")
|
||||
@@ -381,7 +381,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: (parent.width - Theme.spacingL) / 2
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: I18n.tr("• MM - Month (01-12)")
|
||||
@@ -913,7 +913,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
StyledText {
|
||||
text: I18n.tr("Feels Like")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
@@ -957,7 +957,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
StyledText {
|
||||
text: I18n.tr("Humidity")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
@@ -1001,7 +1001,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
StyledText {
|
||||
text: I18n.tr("Wind")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
@@ -1058,7 +1058,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
StyledText {
|
||||
text: I18n.tr("Pressure")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
@@ -1108,7 +1108,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
StyledText {
|
||||
text: I18n.tr("Rain Chance")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
@@ -1152,7 +1152,7 @@ Item {
|
||||
|
||||
Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
StyledText {
|
||||
text: I18n.tr("Visibility")
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
|
||||
@@ -182,7 +182,7 @@ Item {
|
||||
|
||||
Column {
|
||||
width: parent.width - Theme.iconSize - actionButtons.width - Theme.spacingM * 3
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
Row {
|
||||
|
||||
@@ -135,7 +135,7 @@ Item {
|
||||
|
||||
Row {
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Rectangle {
|
||||
width: 32
|
||||
@@ -562,7 +562,7 @@ Item {
|
||||
|
||||
Row {
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Rectangle {
|
||||
width: 28
|
||||
@@ -752,7 +752,7 @@ Item {
|
||||
|
||||
Row {
|
||||
anchors.centerIn: parent
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Rectangle {
|
||||
width: 28
|
||||
|
||||
@@ -357,7 +357,7 @@ FloatingWindow {
|
||||
Column {
|
||||
id: textColumn
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - Theme.iconSize * 2 - Theme.spacingM * 4 + 4
|
||||
|
||||
StyledText {
|
||||
|
||||
@@ -202,7 +202,7 @@ FloatingWindow {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
width: parent.width - 28 - Theme.spacingM * 3 - 24
|
||||
|
||||
StyledText {
|
||||
@@ -283,26 +283,31 @@ FloatingWindow {
|
||||
}
|
||||
|
||||
function selectNext() {
|
||||
if (filteredApps.length === 0) return;
|
||||
if (filteredApps.length === 0)
|
||||
return;
|
||||
keyboardNavigationActive = true;
|
||||
selectedIndex = Math.min(selectedIndex + 1, filteredApps.length - 1);
|
||||
}
|
||||
|
||||
function selectPrevious() {
|
||||
if (filteredApps.length === 0) return;
|
||||
if (filteredApps.length === 0)
|
||||
return;
|
||||
keyboardNavigationActive = true;
|
||||
selectedIndex = Math.max(selectedIndex - 1, -1);
|
||||
if (selectedIndex === -1) keyboardNavigationActive = false;
|
||||
if (selectedIndex === -1)
|
||||
keyboardNavigationActive = false;
|
||||
}
|
||||
|
||||
function selectApp() {
|
||||
if (selectedIndex < 0 || selectedIndex >= filteredApps.length) return;
|
||||
if (selectedIndex < 0 || selectedIndex >= filteredApps.length)
|
||||
return;
|
||||
selectAppByIndex(selectedIndex);
|
||||
}
|
||||
|
||||
function selectAppByIndex(idx) {
|
||||
const app = filteredApps[idx];
|
||||
if (!app) return;
|
||||
if (!app)
|
||||
return;
|
||||
root.appSelected(app.id || app.execString || "");
|
||||
hide();
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ Rectangle {
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: parent.width - Theme.iconSize - Theme.spacingM * 3 - buttonsRow.width
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: root.displayedName
|
||||
@@ -62,7 +62,7 @@ Rectangle {
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Row {
|
||||
width: parent.width
|
||||
|
||||
@@ -40,7 +40,7 @@ StyledRect {
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
width: parent.width - Theme.iconSize - openButton.width - Theme.spacingM * 2
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: root.settingLabel
|
||||
|
||||
@@ -364,7 +364,7 @@ Column {
|
||||
anchors.right: actionButtons.left
|
||||
anchors.rightMargin: Theme.spacingM
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.text
|
||||
@@ -1279,7 +1279,7 @@ Column {
|
||||
Column {
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
@@ -1417,7 +1417,7 @@ Column {
|
||||
id: contentColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
@@ -1616,7 +1616,7 @@ Column {
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Theme.spacingXS
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankActionButton {
|
||||
buttonSize: 28
|
||||
@@ -1681,7 +1681,7 @@ Column {
|
||||
id: kbdLayoutCtxMenuColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
@@ -1766,7 +1766,7 @@ Column {
|
||||
id: focusedWindowMenuColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
@@ -1935,7 +1935,7 @@ Column {
|
||||
id: diskMenuColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
@@ -2315,7 +2315,7 @@ Column {
|
||||
id: menuColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Item {
|
||||
id: controlCenterContentMetrics
|
||||
@@ -2615,7 +2615,7 @@ Column {
|
||||
id: menuPrivacyColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
@@ -2840,7 +2840,7 @@ Column {
|
||||
id: gpuMenuColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Repeater {
|
||||
model: DgopService.availableGpus || []
|
||||
@@ -2876,7 +2876,7 @@ Column {
|
||||
|
||||
Column {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: modelData.driver ? modelData.driver.toUpperCase() : ""
|
||||
@@ -2949,7 +2949,7 @@ Column {
|
||||
id: batteryMenuColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
@@ -3198,7 +3198,7 @@ Column {
|
||||
id: musicMenuColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Repeater {
|
||||
model: [
|
||||
@@ -3315,7 +3315,7 @@ Column {
|
||||
id: runningAppsMenuColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: Theme.spacingS
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
|
||||
@@ -646,7 +646,7 @@ Item {
|
||||
|
||||
ColumnLayout {
|
||||
Layout.fillWidth: true
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
StyledText {
|
||||
text: ruleDelegateItem.displayName
|
||||
@@ -715,7 +715,7 @@ Item {
|
||||
|
||||
RowLayout {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
DankActionButton {
|
||||
buttonSize: 28
|
||||
@@ -899,7 +899,7 @@ Item {
|
||||
|
||||
ColumnLayout {
|
||||
Layout.fillWidth: true
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
|
||||
@@ -15,7 +15,7 @@ PluginComponent {
|
||||
|
||||
horizontalBarPill: Component {
|
||||
Row {
|
||||
spacing: 3
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankIcon {
|
||||
name: root.displayIcon
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import qs.Common
|
||||
import qs.Widgets
|
||||
|
||||
FocusScope {
|
||||
@@ -14,7 +15,7 @@ FocusScope {
|
||||
id: settingsColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: 16
|
||||
spacing: 16
|
||||
spacing: Theme.spacingL
|
||||
|
||||
Text {
|
||||
text: "Launcher Example Plugin Settings"
|
||||
@@ -38,7 +39,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 12
|
||||
spacing: Theme.spacingM
|
||||
width: parent.width - 32
|
||||
|
||||
Text {
|
||||
@@ -57,7 +58,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 12
|
||||
spacing: Theme.spacingM
|
||||
|
||||
CheckBox {
|
||||
id: noTriggerToggle
|
||||
@@ -91,18 +92,18 @@ FocusScope {
|
||||
}
|
||||
|
||||
onCheckedChanged: {
|
||||
saveSettings("noTrigger", checked)
|
||||
saveSettings("noTrigger", checked);
|
||||
if (checked) {
|
||||
saveSettings("trigger", "")
|
||||
saveSettings("trigger", "");
|
||||
} else {
|
||||
saveSettings("trigger", triggerField.text || "#")
|
||||
saveSettings("trigger", triggerField.text || "#");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 12
|
||||
spacing: Theme.spacingM
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
visible: !noTriggerToggle.checked
|
||||
@@ -124,9 +125,9 @@ FocusScope {
|
||||
textColor: "#FFFFFF"
|
||||
|
||||
onTextEdited: {
|
||||
const newTrigger = text.trim()
|
||||
saveSettings("trigger", newTrigger || "#")
|
||||
saveSettings("noTrigger", newTrigger === "")
|
||||
const newTrigger = text.trim();
|
||||
saveSettings("trigger", newTrigger || "#");
|
||||
saveSettings("noTrigger", newTrigger === "");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,7 +147,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 8
|
||||
spacing: Theme.spacingS
|
||||
width: parent.width - 32
|
||||
|
||||
Text {
|
||||
@@ -157,7 +158,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
leftPadding: 16
|
||||
|
||||
Text {
|
||||
@@ -187,7 +188,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 8
|
||||
spacing: Theme.spacingS
|
||||
width: parent.width - 32
|
||||
|
||||
Text {
|
||||
@@ -198,7 +199,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
leftPadding: 16
|
||||
bottomPadding: 24
|
||||
|
||||
@@ -231,14 +232,14 @@ FocusScope {
|
||||
|
||||
function saveSettings(key, value) {
|
||||
if (pluginService) {
|
||||
pluginService.savePluginData("launcherExample", key, value)
|
||||
pluginService.savePluginData("launcherExample", key, value);
|
||||
}
|
||||
}
|
||||
|
||||
function loadSettings(key, defaultValue) {
|
||||
if (pluginService) {
|
||||
return pluginService.loadPluginData("launcherExample", key, defaultValue)
|
||||
return pluginService.loadPluginData("launcherExample", key, defaultValue);
|
||||
}
|
||||
return defaultValue
|
||||
return defaultValue;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import QtQuick
|
||||
import qs.Common
|
||||
import qs.Widgets
|
||||
|
||||
FocusScope {
|
||||
@@ -13,7 +14,7 @@ FocusScope {
|
||||
id: settingsColumn
|
||||
anchors.fill: parent
|
||||
anchors.margins: 16
|
||||
spacing: 16
|
||||
spacing: Theme.spacingL
|
||||
|
||||
Text {
|
||||
text: "Quick Notes Settings"
|
||||
@@ -37,7 +38,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 12
|
||||
spacing: Theme.spacingM
|
||||
width: parent.width - 32
|
||||
|
||||
Text {
|
||||
@@ -48,7 +49,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 12
|
||||
spacing: Theme.spacingM
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
||||
@@ -82,7 +83,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 12
|
||||
spacing: Theme.spacingM
|
||||
width: parent.width - 32
|
||||
|
||||
Text {
|
||||
@@ -93,7 +94,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Row {
|
||||
spacing: 12
|
||||
spacing: Theme.spacingM
|
||||
|
||||
Text {
|
||||
text: "Max notes:"
|
||||
@@ -137,7 +138,7 @@ FocusScope {
|
||||
Row {
|
||||
id: clearRow
|
||||
anchors.centerIn: parent
|
||||
spacing: 8
|
||||
spacing: Theme.spacingS
|
||||
|
||||
Text {
|
||||
text: "🗑"
|
||||
@@ -174,7 +175,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 8
|
||||
spacing: Theme.spacingS
|
||||
width: parent.width - 32
|
||||
|
||||
Text {
|
||||
@@ -185,7 +186,7 @@ FocusScope {
|
||||
}
|
||||
|
||||
Column {
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
leftPadding: 16
|
||||
bottomPadding: 24
|
||||
|
||||
|
||||
@@ -458,7 +458,7 @@ Item {
|
||||
model: ScriptModel {
|
||||
values: dropdownMenu.filteredOptions
|
||||
}
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
interactive: true
|
||||
flickDeceleration: 1500
|
||||
|
||||
@@ -203,7 +203,7 @@ Rectangle {
|
||||
|
||||
Flow {
|
||||
width: parent.width
|
||||
spacing: 4
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
Repeater {
|
||||
model: modelData.icons
|
||||
|
||||
@@ -204,7 +204,7 @@ Item {
|
||||
anchors.fill: parent
|
||||
clip: true
|
||||
model: searchResultsModel
|
||||
spacing: 2
|
||||
spacing: Theme.spacingXXS
|
||||
|
||||
delegate: StyledRect {
|
||||
width: searchResultsList.width
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user