Skip to content
Snippets Groups Projects
Commit f76f7b7f authored by Jedi18's avatar Jedi18
Browse files

fixed roomsettings spacing and toggle button right align bug

parent 8c4f0a07
No related branches found
No related tags found
No related merge requests found
Pipeline #656 passed
......@@ -121,9 +121,11 @@ ApplicationWindow {
GridLayout {
columns: 2
rowSpacing: 10
MatrixText {
text: "SETTINGS"
font.bold: true
}
Item {
......@@ -220,8 +222,19 @@ ApplicationWindow {
Layout.alignment: Qt.AlignRight
}
Item {
// for adding extra space between sections
Layout.fillWidth: true
}
Item {
// for adding extra space between sections
Layout.fillWidth: true
}
MatrixText {
text: "INFO"
font.bold: true
}
Item {
......@@ -234,7 +247,7 @@ ApplicationWindow {
MatrixText {
text: roomSettings.roomId
font.pixelSize: 12
font.pixelSize: 14
Layout.alignment: Qt.AlignRight
}
......@@ -244,7 +257,7 @@ ApplicationWindow {
MatrixText {
text: roomSettings.roomVersion
font.pixelSize: 12
font.pixelSize: 14
Layout.alignment: Qt.AlignRight
}
}
......
......@@ -5,8 +5,10 @@ import im.nheko 1.0
Switch {
id: toggleButton
implicitWidth: indicatorItem.width
indicator: Item {
id: indicatorItem
implicitWidth: 48
implicitHeight: 24
y: parent.height / 2 - height / 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment