[calamares] Correct enum-names in QML Sidebar

- previous commits did not fix up all the enum names; this means
  you get errors -- because Branding.SidebarTextSelect is not a known
  name in the enum Branding::StyleEntry -- and the colors are messed up.
This commit is contained in:
Adriaan de Groot 2022-06-03 11:27:39 +02:00
parent dc699db5f5
commit e6d72cb23b

View File

@ -66,7 +66,7 @@ Rectangle {
Layout.fillWidth: true;
height: 35
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
color: Branding.styleString( Branding.SidebarTextHighlight );
color: Branding.styleString( Branding.SidebarBackground );
visible: true;
Rectangle {
@ -74,7 +74,7 @@ Rectangle {
height: 35
width: parent.width / 2;
anchors.left: parent.left
color: Branding.styleString( Branding.SidebarTextHighlight );
color: Branding.styleString( Branding.SidebarBackgroundCurrent );
visible: true;
MouseArea {
@ -87,7 +87,7 @@ Rectangle {
anchors.horizontalCenter: parent.horizontalCenter;
x: parent.x + 4;
text: qsTr("About")
color: Branding.styleString( Branding.SidebarTextSelect );
color: Branding.styleString( Branding.SidebarTextCurrent );
font.pointSize : 9
}
@ -100,7 +100,7 @@ Rectangle {
height: 35
width: parent.width / 2;
anchors.right: parent.right
color: Branding.styleString( Branding.SidebarTextHighlight );
color: Branding.styleString( Branding.SidebarBackgroundCurrent );
visible: debug.enabled
MouseArea {
@ -113,7 +113,7 @@ Rectangle {
anchors.horizontalCenter: parent.horizontalCenter;
x: parent.x + 4;
text: qsTr("Debug")
color: Branding.styleString( Branding.SidebarTextSelect );
color: Branding.styleString( Branding.SidebarTextCurrent );
font.pointSize : 9
}