Change default bar color to transparent, change wrapping issue where it can't worwrap correctly, so it just wraps
This commit is contained in:
2
Bar.qml
2
Bar.qml
@@ -13,7 +13,7 @@ PanelWindow {
|
|||||||
screen: modelData
|
screen: modelData
|
||||||
implicitHeight: Theme.barSize
|
implicitHeight: Theme.barSize
|
||||||
|
|
||||||
color: Qt.rgba(0.68, 0.75, 0.88, 0)
|
color: "transparent"
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
top: true
|
top: true
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ BackgroundRectangle {
|
|||||||
StyledText {
|
StyledText {
|
||||||
id: summaryText
|
id: summaryText
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.Wrap
|
||||||
text: root.notification ? root.notification.summary : ""
|
text: root.notification ? root.notification.summary : ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -143,7 +143,7 @@ BackgroundRectangle {
|
|||||||
StyledText {
|
StyledText {
|
||||||
id: bodyText
|
id: bodyText
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.Wrap
|
||||||
text: root.notification ? root.notification.body : ""
|
text: root.notification ? root.notification.body : ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user