mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 00:12:50 -05:00
settings: clamp max content width
This commit is contained in:
@@ -182,11 +182,16 @@ FloatingWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Item {
|
||||||
|
width: parent.width - sidebar.width
|
||||||
|
height: parent.height
|
||||||
|
|
||||||
SettingsContent {
|
SettingsContent {
|
||||||
id: content
|
id: content
|
||||||
|
|
||||||
width: parent.width - sidebar.width
|
width: Math.min(550, parent.width)
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
parentModal: settingsModal
|
parentModal: settingsModal
|
||||||
currentIndex: settingsModal.currentTabIndex
|
currentIndex: settingsModal.currentTabIndex
|
||||||
}
|
}
|
||||||
@@ -194,3 +199,4 @@ FloatingWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user