[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:
parent
dc699db5f5
commit
e6d72cb23b
@ -66,7 +66,7 @@ Rectangle {
|
|||||||
Layout.fillWidth: true;
|
Layout.fillWidth: true;
|
||||||
height: 35
|
height: 35
|
||||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
|
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
|
||||||
color: Branding.styleString( Branding.SidebarTextHighlight );
|
color: Branding.styleString( Branding.SidebarBackground );
|
||||||
visible: true;
|
visible: true;
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
@ -74,7 +74,7 @@ Rectangle {
|
|||||||
height: 35
|
height: 35
|
||||||
width: parent.width / 2;
|
width: parent.width / 2;
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
color: Branding.styleString( Branding.SidebarTextHighlight );
|
color: Branding.styleString( Branding.SidebarBackgroundCurrent );
|
||||||
visible: true;
|
visible: true;
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
@ -87,7 +87,7 @@ Rectangle {
|
|||||||
anchors.horizontalCenter: parent.horizontalCenter;
|
anchors.horizontalCenter: parent.horizontalCenter;
|
||||||
x: parent.x + 4;
|
x: parent.x + 4;
|
||||||
text: qsTr("About")
|
text: qsTr("About")
|
||||||
color: Branding.styleString( Branding.SidebarTextSelect );
|
color: Branding.styleString( Branding.SidebarTextCurrent );
|
||||||
font.pointSize : 9
|
font.pointSize : 9
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -100,7 +100,7 @@ Rectangle {
|
|||||||
height: 35
|
height: 35
|
||||||
width: parent.width / 2;
|
width: parent.width / 2;
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
color: Branding.styleString( Branding.SidebarTextHighlight );
|
color: Branding.styleString( Branding.SidebarBackgroundCurrent );
|
||||||
visible: debug.enabled
|
visible: debug.enabled
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
@ -113,7 +113,7 @@ Rectangle {
|
|||||||
anchors.horizontalCenter: parent.horizontalCenter;
|
anchors.horizontalCenter: parent.horizontalCenter;
|
||||||
x: parent.x + 4;
|
x: parent.x + 4;
|
||||||
text: qsTr("Debug")
|
text: qsTr("Debug")
|
||||||
color: Branding.styleString( Branding.SidebarTextSelect );
|
color: Branding.styleString( Branding.SidebarTextCurrent );
|
||||||
font.pointSize : 9
|
font.pointSize : 9
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user