Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma Mobile
Angelfish
Commits
5df16729
Commit
5df16729
authored
Mar 08, 2020
by
Rinigus Saar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add padding to settings items
parent
2ecebd81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
src/contents/ui/SettingsNavigationBarPage.qml
src/contents/ui/SettingsNavigationBarPage.qml
+7
-1
src/contents/ui/SettingsPage.qml
src/contents/ui/SettingsPage.qml
+6
-1
No files found.
src/contents/ui/SettingsNavigationBarPage.qml
View file @
5df16729
...
...
@@ -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
}
...
...
src/contents/ui/SettingsPage.qml
View file @
5df16729
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment