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