Commit f495ea42 authored by Rinigus Saar's avatar Rinigus Saar

use left/right padding in settings

parent 08c0e551
......@@ -68,7 +68,8 @@ Kirigami.ScrollablePage {
text: i18n("Main menu in portrait")
Layout.fillWidth: true
checked: settings.navBarMainMenu
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarMainMenu = checked
}
......@@ -81,7 +82,8 @@ Kirigami.ScrollablePage {
text: i18n("Tabs in portrait")
Layout.fillWidth: true
checked: settings.navBarTabs
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarTabs = checked
}
......@@ -94,7 +96,8 @@ Kirigami.ScrollablePage {
text: i18n("Context menu in portrait")
Layout.fillWidth: true
checked: settings.navBarContextMenu
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarContextMenu = checked
}
......@@ -107,7 +110,8 @@ Kirigami.ScrollablePage {
text: i18n("Go back")
Layout.fillWidth: true
checked: settings.navBarBack
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarBack = checked
}
......@@ -120,7 +124,8 @@ Kirigami.ScrollablePage {
text: i18n("Go forward")
Layout.fillWidth: true
checked: settings.navBarForward
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarForward = checked
}
......@@ -133,7 +138,8 @@ Kirigami.ScrollablePage {
text: i18n("Reload/Stop")
Layout.fillWidth: true
checked: settings.navBarReload
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: parent.itemHeight
onCheckedChanged: settings.navBarReload = checked
}
......
......@@ -50,7 +50,8 @@ Kirigami.ScrollablePage {
Layout.fillWidth: true
checked: settings.webJavascriptEnabled
onCheckedChanged: settings.webJavascriptEnabled = checked
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
......@@ -63,7 +64,8 @@ Kirigami.ScrollablePage {
Layout.fillWidth: true
checked: settings.webAutoLoadImages
onCheckedChanged: settings.webAutoLoadImages = checked
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
......@@ -99,7 +101,8 @@ Kirigami.ScrollablePage {
onClicked: {
homePagePopup.open()
}
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
......@@ -113,7 +116,8 @@ Kirigami.ScrollablePage {
onClicked: {
searchEnginePopup.open()
}
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
}
......@@ -124,7 +128,8 @@ Kirigami.ScrollablePage {
Controls.ItemDelegate {
text: i18n("Navigation bar")
Layout.fillWidth: true
horizontalPadding: Kirigami.Units.gridUnit
leftPadding: Kirigami.Units.gridUnit
rightPadding: Kirigami.Units.gridUnit
implicitHeight: Kirigami.Units.gridUnit * 2.5
onClicked: pageStack.push(Qt.resolvedUrl("SettingsNavigationBarPage.qml"))
}
......
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