mirror of
https://github.com/QuasarApp/ViewSolutions.git
synced 2025-04-27 02:04:40 +00:00
fix color
This commit is contained in:
parent
03795428d2
commit
0fed6d80f8
@ -43,7 +43,7 @@ ViewPortPage {
|
|||||||
|
|
||||||
GradientStop {
|
GradientStop {
|
||||||
position: 1.00;
|
position: 1.00;
|
||||||
color: "#33" + baseColor;
|
color: "#00" + baseColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -60,6 +60,8 @@ ViewPortPage {
|
|||||||
font.bold: true
|
font.bold: true
|
||||||
font.pointSize: headerTextPointSize
|
font.pointSize: headerTextPointSize
|
||||||
text: title;
|
text: title;
|
||||||
|
color: fontColor
|
||||||
|
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
@ -87,6 +89,8 @@ ViewPortPage {
|
|||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
width: parent.width / 2
|
width: parent.width / 2
|
||||||
text: root.text
|
text: root.text
|
||||||
|
color: fontColor
|
||||||
|
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.top: header.bottom
|
anchors.top: header.bottom
|
||||||
|
@ -13,6 +13,7 @@ ViewPortDelegatBase {
|
|||||||
property int textMargins: 10
|
property int textMargins: 10
|
||||||
property int sourceTextPointSize: 20
|
property int sourceTextPointSize: 20
|
||||||
property int headerTextPointSize: 32
|
property int headerTextPointSize: 32
|
||||||
|
property color fontColor: ( Material.theme === Material.Light)? "#626465" : "#d2d5d8"
|
||||||
|
|
||||||
property int additionalHeight: getBrCount(text) * sourceText.fontInfo.pixelSize + textMargins * 2
|
property int additionalHeight: getBrCount(text) * sourceText.fontInfo.pixelSize + textMargins * 2
|
||||||
|
|
||||||
@ -49,6 +50,7 @@ ViewPortDelegatBase {
|
|||||||
id: header
|
id: header
|
||||||
font.bold: true
|
font.bold: true
|
||||||
font.pointSize: headerTextPointSize
|
font.pointSize: headerTextPointSize
|
||||||
|
color: fontColor
|
||||||
text: title;
|
text: title;
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
@ -76,6 +78,8 @@ ViewPortDelegatBase {
|
|||||||
horizontalAlignment: Text.AlignLeft
|
horizontalAlignment: Text.AlignLeft
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
text: root.text
|
text: root.text
|
||||||
|
color: fontColor
|
||||||
|
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.top: header.bottom
|
anchors.top: header.bottom
|
||||||
|
Loading…
x
Reference in New Issue
Block a user