Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/components/UserDelegate.qml
Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Line(s) | 138 | void main() { | |||
---|---|---|---|---|---|
154 | 154 | | |||
155 | gl_FragColor = gl_FragColor * qt_Opacity; | 155 | gl_FragColor = gl_FragColor * qt_Opacity; | ||
156 | } | 156 | } | ||
157 | " | 157 | " | ||
158 | } | 158 | } | ||
159 | 159 | | |||
160 | PlasmaComponents.Label { | 160 | PlasmaComponents.Label { | ||
161 | id: usernameDelegate | 161 | id: usernameDelegate | ||
162 | font.pointSize: theme.defaultFont.pointSize + 2 | 162 | font.pointSize: config.LoginNameSize || theme.defaultFont.pointSize + 2 | ||
163 | anchors { | 163 | anchors { | ||
164 | bottom: parent.bottom | 164 | bottom: parent.bottom | ||
165 | horizontalCenter: parent.horizontalCenter | 165 | horizontalCenter: parent.horizontalCenter | ||
166 | } | 166 | } | ||
167 | height: implicitHeight // work around stupid bug in Plasma Components that sets the height | 167 | height: implicitHeight // work around stupid bug in Plasma Components that sets the height | ||
168 | width: constrainText ? parent.width : implicitWidth | 168 | width: constrainText ? parent.width : implicitWidth | ||
169 | text: wrapper.name | 169 | text: wrapper.name | ||
170 | style: softwareRendering ? Text.Outline : Text.Normal | 170 | style: softwareRendering ? Text.Outline : Text.Normal | ||
Show All 18 Lines |