From 0532280689093b343c591edf93badf9614db9622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 22 May 2014 16:55:05 +0200 Subject: [PATCH] [kcmkwin/compositing] Switch Text to Label BUG: 335193 REVIEW: 118262 --- kcmkwin/kwincompositing/qml/Effect.qml | 6 +++--- kcmkwin/kwincompositing/qml/EffectView.qml | 2 +- kcmkwin/kwincompositing/qml/OpenGLErrorView.qml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kcmkwin/kwincompositing/qml/Effect.qml b/kcmkwin/kwincompositing/qml/Effect.qml index bdebb46205..5b11a41502 100644 --- a/kcmkwin/kwincompositing/qml/Effect.qml +++ b/kcmkwin/kwincompositing/qml/Effect.qml @@ -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 diff --git a/kcmkwin/kwincompositing/qml/EffectView.qml b/kcmkwin/kwincompositing/qml/EffectView.qml index 0a0f098b23..9aee373f1e 100644 --- a/kcmkwin/kwincompositing/qml/EffectView.qml +++ b/kcmkwin/kwincompositing/qml/EffectView.qml @@ -36,7 +36,7 @@ Item { implicitHeight: sectionText.implicitHeight + 2 * col.spacing color: searchModel.backgroundNormalColor - Text { + Label { id: sectionText x: col.spacing y: col.spacing diff --git a/kcmkwin/kwincompositing/qml/OpenGLErrorView.qml b/kcmkwin/kwincompositing/qml/OpenGLErrorView.qml index e0444a6359..b54d17c840 100644 --- a/kcmkwin/kwincompositing/qml/OpenGLErrorView.qml +++ b/kcmkwin/kwincompositing/qml/OpenGLErrorView.qml @@ -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" +