[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-workspace/mart/AppletAttached] plasma/generic/applets/systemtray/package/contents/ui: use
From: Marco Martin <notmart () gmail ! com>
Date: 2014-01-31 20:05:57
Message-ID: E1W9KLd-0005RT-3D () scm ! kde ! org
[Download RAW message or body]
Git commit 9392fb1593aefa7a5fa5e73d0ceed94d5bbd7a7a by Marco Martin.
Committed on 31/01/2014 at 20:05.
Pushed by mart into branch 'mart/AppletAttached'.
use Plasmoid.fullRepresentation
M +6 -8 plasma/generic/applets/systemtray/package/contents/ui/main.qml
http://commits.kde.org/kde-workspace/9392fb1593aefa7a5fa5e73d0ceed94d5bbd7a7a
diff --git a/plasma/generic/applets/systemtray/package/contents/ui/main.qml \
b/plasma/generic/applets/systemtray/package/contents/ui/main.qml index \
cc3d0b7..8f32912 100644
--- a/plasma/generic/applets/systemtray/package/contents/ui/main.qml
+++ b/plasma/generic/applets/systemtray/package/contents/ui/main.qml
@@ -33,11 +33,6 @@ Item {
property bool vertical: (plasmoid.formFactor == PlasmaCore.Types.Vertical)
- Layout.minimumWidth: Layout.minimumHeight * 1.333
- Layout.minimumHeight: theme.mSize(theme.defaultFont).height * 14
-
- Layout.preferredWidth: Layout.minimumWidth * 1.5
- Layout.preferredHeight: Layout.minimumHeight * 1.5
Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation
Plasmoid.onExpandedChanged: {
if (!plasmoid.expanded) {
@@ -68,6 +63,12 @@ Item {
Plasmoid.compactRepresentation: CompactRepresentation {
systrayhost: host
}
+ Plasmoid.fullRepresentation: ExpandedRepresentation {
+ Layout.minimumWidth: Layout.minimumHeight * 1.333
+ Layout.minimumHeight: theme.mSize(theme.defaultFont).height * 14
+ Layout.preferredWidth: Layout.minimumWidth * 1.5
+ Layout.preferredHeight: Layout.minimumHeight * 1.5
+ }
Rectangle {
anchors.fill: parent;
@@ -99,7 +100,4 @@ Item {
// id: expandedLoader
// }
- ExpandedRepresentation {
- anchors.fill: parent
- }
}
\ No newline at end of file
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic