summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <notmart@gmail.com>2016-05-13 16:01:31 (GMT)
committerMarco Martin <notmart@gmail.com>2016-05-13 16:01:31 (GMT)
commit7fe208892dfe051549ce579fffefbd2fa9894d6c (patch)
tree45e6ff1a15ba4942da37e1f0cbc0e43f585f956d
parentf4de5d1befa6ed2634bb8e5ed2e5e02c9feb1506 (diff)
joined buttons style on plasma style
-rw-r--r--mobile/app/package/contents/ui/OkularDrawer.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/mobile/app/package/contents/ui/OkularDrawer.qml b/mobile/app/package/contents/ui/OkularDrawer.qml
index 770353d..b20f455 100644
--- a/mobile/app/package/contents/ui/OkularDrawer.qml
+++ b/mobile/app/package/contents/ui/OkularDrawer.qml
@@ -63,6 +63,7 @@ Kirigami.OverlayDrawer {
height: childrenRect.height
Row {
id: mainTabBar
+ spacing: 0
anchors.horizontalCenter: parent.horizontalCenter
width: Math.min(parent.width, implicitWidth)
ExclusiveGroup { id: tabPositionGroup }
@@ -71,6 +72,8 @@ Kirigami.OverlayDrawer {
text: tabsToolbar.width > units.gridUnit * 30 ? i18n("Thumbnails") : ""
iconName: "view-preview"
checkable: true
+ //Hint for Plasma style
+ property bool flat: false
onCheckedChanged: {
if (checked) {
pageStack.replace(Qt.createComponent("Thumbnails.qml"))
@@ -84,6 +87,7 @@ Kirigami.OverlayDrawer {
text: tabsToolbar.width > units.gridUnit * 30 ? i18n("Table of contents") : ""
iconName: "view-table-of-contents-ltr"
checkable: true
+ property bool flat: false
onCheckedChanged: {
if (checked) {
pageStack.replace(Qt.createComponent("TableOfContents.qml"))
@@ -97,6 +101,7 @@ Kirigami.OverlayDrawer {
text: tabsToolbar.width > units.gridUnit * 30 ? i18n("Bookmarks") : ""
iconName: "bookmarks-organize"
checkable: true
+ property bool flat: false
onCheckedChanged: {
if (checked) {
pageStack.replace(Qt.createComponent("Bookmarks.qml"))