mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 23:42:51 -05:00
settings: clamp max content width
This commit is contained in:
@@ -182,13 +182,19 @@ FloatingWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SettingsContent {
|
Item {
|
||||||
id: content
|
|
||||||
|
|
||||||
width: parent.width - sidebar.width
|
width: parent.width - sidebar.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
parentModal: settingsModal
|
|
||||||
currentIndex: settingsModal.currentTabIndex
|
SettingsContent {
|
||||||
|
id: content
|
||||||
|
|
||||||
|
width: Math.min(550, parent.width)
|
||||||
|
height: parent.height
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
parentModal: settingsModal
|
||||||
|
currentIndex: settingsModal.currentTabIndex
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user