Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/ExpandedRepresentation.qml
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Line(s) | 26 | Item { | |||
---|---|---|---|---|---|
90 | PlasmaExtras.Heading { | 90 | PlasmaExtras.Heading { | ||
91 | id: noAppletHeading | 91 | id: noAppletHeading | ||
92 | level: 1 | 92 | level: 1 | ||
93 | anchors { | 93 | anchors { | ||
94 | left: parent.left | 94 | left: parent.left | ||
95 | top: parent.top | 95 | top: parent.top | ||
96 | right: parent.right | 96 | right: parent.right | ||
97 | topMargin: hiddenItemsView.visible ? units.smallSpacing : 0 | 97 | topMargin: hiddenItemsView.visible ? units.smallSpacing : 0 | ||
98 | leftMargin: hiddenItemsView.iconColumnWidth + units.largeSpacing; | 98 | leftMargin: units.smallSpacing | ||
fabianr: Please don't use hard coded margins, use smallSpacing instead.
See https://hig.kde. | |||||
99 | } | 99 | } | ||
100 | text: i18n("Status & Notifications") | 100 | text: i18n("Status and Notifications") | ||
101 | visible: !heading.visible | 101 | visible: !heading.visible | ||
102 | } | 102 | } | ||
103 | 103 | | |||
104 | PlasmaCore.SvgItem { | 104 | PlasmaCore.SvgItem { | ||
105 | anchors { | 105 | anchors { | ||
106 | left: parent.left | 106 | left: parent.left | ||
107 | leftMargin: hiddenLayout.width | 107 | leftMargin: hiddenLayout.width | ||
108 | top: parent.top | 108 | top: parent.top | ||
Show All 36 Lines |
Please don't use hard coded margins, use smallSpacing instead.
See https://hig.kde.org/layout/units.html