Commit 5df16729 authored by Rinigus Saar's avatar Rinigus Saar

add padding to settings items

parent 2ecebd81
......@@ -47,7 +47,6 @@ Kirigami.ScrollablePage {
property real itemHeight: Kirigami.Units.gridUnit * 2.5
Controls.Label {
padding: Kirigami.Units.gridUnit
text: i18n("Choose the buttons enabled in navigation bar. " +
"Some of the buttons can be hidden only in portrait " +
"orientation of the browser and are always shown if " +
......@@ -57,6 +56,7 @@ Kirigami.ScrollablePage {
"from the left or right side or to a side along the bottom " +
"of the window.")
Layout.fillWidth: true
padding: Kirigami.Units.gridUnit
wrapMode: Text.WordWrap
}
......@@ -68,6 +68,7 @@ Kirigami.ScrollablePage {
text: i18n("Main menu in portrait")
Layout.fillWidth: true
checked: settings.navBarMainMenu
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarMainMenu = checked
}
......@@ -80,6 +81,7 @@ Kirigami.ScrollablePage {
text: i18n("Tabs in portrait")
Layout.fillWidth: true
checked: settings.navBarTabs
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarTabs = checked
}
......@@ -92,6 +94,7 @@ Kirigami.ScrollablePage {
text: i18n("Context menu in portrait")
Layout.fillWidth: true
checked: settings.navBarContextMenu
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarContextMenu = checked
}
......@@ -104,6 +107,7 @@ Kirigami.ScrollablePage {
text: i18n("Go back")
Layout.fillWidth: true
checked: settings.navBarBack
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarBack = checked
}
......@@ -116,6 +120,7 @@ Kirigami.ScrollablePage {
text: i18n("Go forward")
Layout.fillWidth: true
checked: settings.navBarForward
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarForward = checked
}
......@@ -128,6 +133,7 @@ Kirigami.ScrollablePage {
text: i18n("Reload/Stop")
Layout.fillWidth: true
checked: settings.navBarReload
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarReload = checked
}
......
......@@ -50,6 +50,7 @@ Kirigami.ScrollablePage {
Layout.fillWidth: true
checked: settings.webJavascriptEnabled
onCheckedChanged: settings.webJavascriptEnabled = checked
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
......@@ -62,6 +63,7 @@ Kirigami.ScrollablePage {
Layout.fillWidth: true
checked: settings.webAutoLoadImages
onCheckedChanged: settings.webAutoLoadImages = checked
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
......@@ -97,6 +99,7 @@ Kirigami.ScrollablePage {
onClicked: {
homePagePopup.open()
}
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
......@@ -110,6 +113,7 @@ Kirigami.ScrollablePage {
onClicked: {
searchEnginePopup.open()
}
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
......@@ -120,8 +124,9 @@ Kirigami.ScrollablePage {
Controls.ItemDelegate {
text: i18n("Navigation bar")
Layout.fillWidth: true
onClicked: pageStack.push(Qt.resolvedUrl("SettingsNavigationBarPage.qml"))
horizontalPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
onClicked: pageStack.push(Qt.resolvedUrl("SettingsNavigationBarPage.qml"))
}
Kirigami.Separator {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment