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 {
ColumnLayout {
Header {
Layout.fillWidth: true
enabled: view.count > 0
Label {
Layout.alignment: Qt.AlignHCenter
visible: view.count > 0
text: i18nd("kcm_pulseaudio", "Device Profiles")
disabledText: i18ndc("kcm_pulseaudio", "@label", "No Device Profiles Available")
font.weight: Font.DemiBold
}
ListView {
......@@ -51,10 +51,11 @@ KCM.SimpleKCM {
delegate: CardListItem {}
}
Header {
Layout.fillWidth: true
Label {
Layout.alignment: Qt.AlignHCenter
text: i18nd("kcm_pulseaudio", "Advanced Output Configuration")
visible: moduleManager.settingsSupported
font.weight: Font.DemiBold
}
ModuleManager {
......@@ -92,9 +93,10 @@ KCM.SimpleKCM {
visible: moduleManager.settingsSupported && !moduleManager.configModuleLoaded
}
Header {
Layout.fillWidth: true
Label {
Layout.alignment: Qt.AlignHCenter
text: i18nd("kcm_pulseaudio", "Speaker Placement and Testing")
font.weight: Font.DemiBold
}
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