Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/components/UserDelegate.qml
Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Line(s) | 163 | DropShadow { | |||
---|---|---|---|---|---|
170 | radius: 4 | 170 | radius: 4 | ||
171 | samples: 9 | 171 | samples: 9 | ||
172 | spread: 0.35 | 172 | spread: 0.35 | ||
173 | color: "black" // matches Breeze window decoration and desktopcontainment | 173 | color: "black" // matches Breeze window decoration and desktopcontainment | ||
174 | } | 174 | } | ||
175 | 175 | | |||
176 | PlasmaComponents.Label { | 176 | PlasmaComponents.Label { | ||
177 | id: usernameDelegate | 177 | id: usernameDelegate | ||
178 | font.pointSize: 12 | 178 | font.pointSize: theme.defaultFont.pointSize + 2 | ||
179 | anchors { | 179 | anchors { | ||
180 | bottom: parent.bottom | 180 | bottom: parent.bottom | ||
181 | horizontalCenter: parent.horizontalCenter | 181 | horizontalCenter: parent.horizontalCenter | ||
182 | } | 182 | } | ||
183 | height: implicitHeight // work around stupid bug in Plasma Components that sets the height | 183 | height: implicitHeight // work around stupid bug in Plasma Components that sets the height | ||
184 | width: constrainText ? parent.width : implicitWidth | 184 | width: constrainText ? parent.width : implicitWidth | ||
185 | text: wrapper.name | 185 | text: wrapper.name | ||
186 | style: softwareRendering ? Text.Outline : undefined | 186 | style: softwareRendering ? Text.Outline : undefined | ||
Show All 18 Lines |