[kcmkwin/compositing] Switch Text to Label

BUG: 335193
REVIEW: 118262
This commit is contained in:
Martin Gräßlin 2014-05-22 16:55:05 +02:00
parent 8ea5792677
commit 0532280689
3 changed files with 5 additions and 5 deletions

View file

@ -101,19 +101,19 @@ Rectangle {
id: effectItem
property int maximumWidth: parent.maximumWidth - checkBoxLayout.width - (videoButton.width + configureButton.width + aboutButton.width) - parent.spacing * 5
Layout.maximumWidth: maximumWidth
Text {
Label {
text: model.NameRole
font.bold: true
wrapMode: Text.Wrap
Layout.maximumWidth: parent.maximumWidth
}
Text {
Label {
id: desc
text: model.DescriptionRole
wrapMode: Text.Wrap
Layout.maximumWidth: parent.maximumWidth
}
Text {
Label {
id:aboutItem
text: i18n("Author: %1\nLicense: %2", model.AuthorNameRole, model.LicenseRole)
font.bold: true

View file

@ -36,7 +36,7 @@ Item {
implicitHeight: sectionText.implicitHeight + 2 * col.spacing
color: searchModel.backgroundNormalColor
Text {
Label {
id: sectionText
x: col.spacing
y: col.spacing

View file

@ -32,7 +32,7 @@ Item {
ColumnLayout {
id: mainLayout
Text {
Label {
id: openGLErrorText
text: i18n("OpenGL compositing (the default) has crashed KWin in the past.\n" +
"This was most likely due to a driver bug.\n" +