[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasma-mobile] applications/settings: style fixes for the settings modules
From: Sebastian_Kügler <sebas () kde ! org>
Date: 2012-01-31 21:39:45
Message-ID: 20120131213945.A51CDA60A6 () git ! kde ! org
[Download RAW message or body]
Git commit fbe755ecd51a20b33d76bc44c012449de5692b1e by Sebastian K=C3=BCgle=
r.
Committed on 31/01/2012 at 22:39.
Pushed by sebas into branch 'master'.
style fixes for the settings modules
M +4 -6 applications/settings/modules/time/package/contents/ui/Time.=
qml
M +7 -12 applications/settings/modules/web/contents/ui/Web.qml
M +2 -1 applications/settings/package/contents/ui/ActiveSettings.qml
M +2 -1 applications/settings/package/contents/ui/Settings.qml
http://commits.kde.org/plasma-mobile/fbe755ecd51a20b33d76bc44c012449de5692b=
1e
diff --git a/applications/settings/modules/time/package/contents/ui/Time.qm=
l b/applications/settings/modules/time/package/contents/ui/Time.qml
index 6924210..9e70589 100644
--- a/applications/settings/modules/time/package/contents/ui/Time.qml
+++ b/applications/settings/modules/time/package/contents/ui/Time.qml
@@ -44,15 +44,13 @@ Item {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
- spacing: theme.defaultFont.mSize.height
- Text {
- color: theme.textColor
- text: "<h3>" + settingsComponent.name + "</h3>"
+ PlasmaComponents.Label {
+ text: settingsComponent.name
+ font.pointSize: theme.defaultFont.pointSize+8
opacity: 1
}
- Text {
+ PlasmaComponents.Label {
id: descriptionLabel
- color: theme.textColor
text: settingsComponent.description
opacity: .4
}
diff --git a/applications/settings/modules/web/contents/ui/Web.qml b/applic=
ations/settings/modules/web/contents/ui/Web.qml
index f65e594..1c3dfeb 100644
--- a/applications/settings/modules/web/contents/ui/Web.qml
+++ b/applications/settings/modules/web/contents/ui/Web.qml
@@ -39,15 +39,13 @@ Item {
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
- spacing: 12
- Text {
- color: theme.textColor
- text: "<h3>" + settingsComponent.name + "</h3>"
+ PlasmaComponents.Label {
+ text: settingsComponent.name
+ font.pointSize: theme.defaultFont.pointSize+8
opacity: 1
}
- Text {
+ PlasmaComponents.Label {
id: descriptionLabel
- color: theme.textColor
text: settingsComponent.description
opacity: .4
}
@@ -76,8 +74,7 @@ Item {
id: startPageItem
anchors { top: titleCol.bottom; left: parent.left; right: parent.r=
ight; topMargin: 32; }
=
- Text {
- color: theme.textColor
+ PlasmaComponents.Label {
anchors { right: parent.horizontalCenter; verticalCenter: pare=
nt.verticalCenter; rightMargin: 12; }
text: i18n("Start page:")
}
@@ -105,8 +102,7 @@ Item {
id: adblockItem
anchors { top: startPageItem.bottom; left: parent.left; right: par=
ent.right; topMargin: 48; }
=
- Text {
- color: theme.textColor
+ PlasmaComponents.Label {
anchors { right: parent.horizontalCenter; verticalCenter: pare=
nt.verticalCenter; rightMargin: 12; }
text: i18n("Block ads:")
}
@@ -127,8 +123,7 @@ Item {
id: pluginsItem
anchors { top: adblockItem.bottom; left: parent.left; right: paren=
t.right; topMargin: 48; }
=
- Text {
- color: theme.textColor
+ PlasmaComponents.Label {
anchors { right: parent.horizontalCenter; verticalCenter: pare=
nt.verticalCenter; rightMargin: 12; }
text: i18n("Enable plugins:")
}
diff --git a/applications/settings/package/contents/ui/ActiveSettings.qml b=
/applications/settings/package/contents/ui/ActiveSettings.qml
index a393314..5dfb10a 100644
--- a/applications/settings/package/contents/ui/ActiveSettings.qml
+++ b/applications/settings/package/contents/ui/ActiveSettings.qml
@@ -160,7 +160,8 @@ Image {
anchors { fill: parent; margins: 80; }
PlasmaComponents.Label {
id: initial_page_label
- text: "<h1>Active Settings</h1>";
+ text: i18n("Active Settings")
+ font.pointSize: theme.defaultFont.pointSize*2
anchors { top: parent.top; horizontalCenter: parent.ho=
rizontalCenter; }
}
QIconItem {
diff --git a/applications/settings/package/contents/ui/Settings.qml b/appli=
cations/settings/package/contents/ui/Settings.qml
index 70b75cf..c981a0d 100644
--- a/applications/settings/package/contents/ui/Settings.qml
+++ b/applications/settings/package/contents/ui/Settings.qml
@@ -147,7 +147,8 @@ Image {
anchors { fill: parent; margins: 80; }
PlasmaComponents.Label {
id: initial_page_label
- text: "<h1>Active Settings</h1>";
+ text: i18n("Active Settings")
+ font.pointSize: theme.defaultFont.pointSize*2
anchors { top: parent.top; horizontalCenter: parent.ho=
rizontalCenter; }
}
QIconItem {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic