[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasma-desktop] applets/kickoff/package/contents/ui: fix breadcrumb behavior
From: Marco Martin <notmart () gmail ! com>
Date: 2014-06-24 9:54:03
Message-ID: E1WzNQR-0007J0-3u () scm ! kde ! org
[Download RAW message or body]
Git commit 0003e8f385546f9071b16e152ae3946884ee54ad by Marco Martin.
Committed on 24/06/2014 at 09:53.
Pushed by mart into branch 'master'.
fix breadcrumb behavior
BUG:336181
M +6 -1 applets/kickoff/package/contents/ui/ApplicationsView.qml
M +1 -1 applets/kickoff/package/contents/ui/Breadcrumb.qml
http://commits.kde.org/plasma-desktop/0003e8f385546f9071b16e152ae3946884ee54ad
diff --git a/applets/kickoff/package/contents/ui/ApplicationsView.qml \
b/applets/kickoff/package/contents/ui/ApplicationsView.qml index e974545..e852902 \
100644
--- a/applets/kickoff/package/contents/ui/ApplicationsView.qml
+++ b/applets/kickoff/package/contents/ui/ApplicationsView.qml
@@ -88,6 +88,7 @@ Item {
height: childrenRect.height
Flickable {
+ id: breadcrumbFlickable
anchors {
top: parent.top
left: parent.left
@@ -96,7 +97,8 @@ Item {
height: breadcrumbsElement.height
contentWidth: breadcrumbsElement.width
- contentX: contentWidth - width
+ pixelAligned: true
+ //contentX: contentWidth - width
PlasmaComponents.ButtonRow {
id: breadcrumbsElement
@@ -121,6 +123,9 @@ Item {
text: model.text
}
}
+ onWidthChanged: {
+ breadcrumbFlickable.contentX = Math.max(0, \
breadcrumbsElement.width - breadcrumbFlickable.width) + }
}
} // Flickable
} // crumbContainer
diff --git a/applets/kickoff/package/contents/ui/Breadcrumb.qml \
b/applets/kickoff/package/contents/ui/Breadcrumb.qml index 96d99d2..016cf25 100644
--- a/applets/kickoff/package/contents/ui/Breadcrumb.qml
+++ b/applets/kickoff/package/contents/ui/Breadcrumb.qml
@@ -66,7 +66,7 @@ Item {
width: visible ? height : 0
svg: PlasmaCore.Svg {
- imagePath: "toolbar-icons/go"
+ imagePath: "icons/go"
}
elementId: "go-next"
visible: !crumbRoot.root
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic