mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-31 08:52:49 -05:00
@@ -23,15 +23,17 @@ Item {
|
||||
SettingsCard {
|
||||
width: parent.width
|
||||
iconName: "swap_vert"
|
||||
title: I18n.tr("Dock Position")
|
||||
title: I18n.tr("Position")
|
||||
settingKey: "dockPosition"
|
||||
|
||||
SettingsButtonGroupRow {
|
||||
text: I18n.tr("Position")
|
||||
model: [I18n.tr("Top", "dock position option"), I18n.tr("Bottom", "dock position option"), I18n.tr("Left", "dock position option"), I18n.tr("Right", "dock position option")]
|
||||
buttonPadding: Theme.spacingS
|
||||
minButtonWidth: 44
|
||||
textSize: Theme.fontSizeSmall
|
||||
Item {
|
||||
width: parent.width
|
||||
height: dockPositionButtonGroup.height
|
||||
|
||||
DankButtonGroup {
|
||||
id: dockPositionButtonGroup
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
model: [I18n.tr("Top"), I18n.tr("Bottom"), I18n.tr("Left"), I18n.tr("Right")]
|
||||
currentIndex: {
|
||||
switch (SettingsData.dockPosition) {
|
||||
case SettingsData.Position.Top:
|
||||
@@ -66,6 +68,7 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SettingsCard {
|
||||
width: parent.width
|
||||
|
||||
Reference in New Issue
Block a user