1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-13 00:42:49 -05:00

control center container width calculations

This commit is contained in:
bbedward
2025-08-28 10:46:42 -04:00
parent 77f40a7201
commit 29ee15e477
6 changed files with 33 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ Column {
spacing: Theme.spacingS
StyledText {
id: availableNetworksText
text: "Available Networks"
font.pixelSize: Theme.fontSizeMedium
color: Theme.surfaceText
@@ -45,11 +46,12 @@ Column {
}
Item {
width: parent.width - 170
width: parent.width - availableNetworksText.width - refreshButtonContainer.width - parent.spacing * 2
height: 1
}
Rectangle {
id: refreshButtonContainer
width: 28
height: 28
radius: 14