Commit befc031e authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[kcm] Fix Advanced page

The last commit removed the Header component. Quickly recreate the appearance with a Label.
parent 060f05a0
...@@ -33,11 +33,11 @@ KCM.SimpleKCM { ...@@ -33,11 +33,11 @@ KCM.SimpleKCM {
ColumnLayout { ColumnLayout {
Header { Label {
Layout.fillWidth: true Layout.alignment: Qt.AlignHCenter
enabled: view.count > 0 visible: view.count > 0
text: i18nd("kcm_pulseaudio", "Device Profiles") text: i18nd("kcm_pulseaudio", "Device Profiles")
disabledText: i18ndc("kcm_pulseaudio", "@label", "No Device Profiles Available") font.weight: Font.DemiBold
} }
ListView { ListView {
...@@ -51,10 +51,11 @@ KCM.SimpleKCM { ...@@ -51,10 +51,11 @@ KCM.SimpleKCM {
delegate: CardListItem {} delegate: CardListItem {}
} }
Header { Label {
Layout.fillWidth: true Layout.alignment: Qt.AlignHCenter
text: i18nd("kcm_pulseaudio", "Advanced Output Configuration") text: i18nd("kcm_pulseaudio", "Advanced Output Configuration")
visible: moduleManager.settingsSupported visible: moduleManager.settingsSupported
font.weight: Font.DemiBold
} }
ModuleManager { ModuleManager {
...@@ -92,9 +93,10 @@ KCM.SimpleKCM { ...@@ -92,9 +93,10 @@ KCM.SimpleKCM {
visible: moduleManager.settingsSupported && !moduleManager.configModuleLoaded visible: moduleManager.settingsSupported && !moduleManager.configModuleLoaded
} }
Header { Label {
Layout.fillWidth: true Layout.alignment: Qt.AlignHCenter
text: i18nd("kcm_pulseaudio", "Speaker Placement and Testing") text: i18nd("kcm_pulseaudio", "Speaker Placement and Testing")
font.weight: Font.DemiBold
} }
RowLayout { RowLayout {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment