Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/ExpandedRepresentation.qml
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 51 | if (!activeApplet && hiddenItemsView.visible && !LayoutMirroring.enabled) { | |||
---|---|---|---|---|---|
52 | return units.smallSpacing; | 52 | return units.smallSpacing; | ||
53 | 53 | | |||
54 | //applet open, sidebar | 54 | //applet open, sidebar | ||
55 | } else if (activeApplet && hiddenItemsView.visible && !LayoutMirroring.enabled) { | 55 | } else if (activeApplet && hiddenItemsView.visible && !LayoutMirroring.enabled) { | ||
56 | return hiddenItemsView.width + units.largeSpacing; | 56 | return hiddenItemsView.width + units.largeSpacing; | ||
57 | 57 | | |||
58 | //applet open, no sidebar | 58 | //applet open, no sidebar | ||
59 | } else { | 59 | } else { | ||
60 | return 0; | 60 | return units.smallSpacing; | ||
61 | } | 61 | } | ||
62 | } | 62 | } | ||
63 | Layout.rightMargin: { | 63 | Layout.rightMargin: { | ||
64 | //Menu mode | 64 | //Menu mode | ||
65 | if (!activeApplet && hiddenItemsView.visible && LayoutMirroring.enabled) { | 65 | if (!activeApplet && hiddenItemsView.visible && LayoutMirroring.enabled) { | ||
66 | return units.smallSpacing; | 66 | return units.smallSpacing; | ||
67 | 67 | | |||
68 | //applet open, sidebar | 68 | //applet open, sidebar | ||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |