mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-04 20:48:29 -04:00
theme: sweep everything that isnt using a spacing token from singleton,
add Theme.XXS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user