forked from Shinonome/dots-hyprland
background: fix locked text spacing when there is no quote
This commit is contained in:
@@ -378,6 +378,7 @@ Variants {
|
|||||||
text: DateTime.date
|
text: DateTime.date
|
||||||
}
|
}
|
||||||
StyledText { // Somehow gets fucked up if made a ClockText???
|
StyledText { // Somehow gets fucked up if made a ClockText???
|
||||||
|
visible: Config.options.background.quote.length > 0
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
horizontalAlignment: bgRoot.textHorizontalAlignment
|
horizontalAlignment: bgRoot.textHorizontalAlignment
|
||||||
font {
|
font {
|
||||||
@@ -389,7 +390,6 @@ Variants {
|
|||||||
color: bgRoot.colText
|
color: bgRoot.colText
|
||||||
style: Text.Raised
|
style: Text.Raised
|
||||||
styleColor: Appearance.colors.colShadow
|
styleColor: Appearance.colors.colShadow
|
||||||
// visible: Config.options.background.quote.length > 0
|
|
||||||
text: Config.options.background.quote
|
text: Config.options.background.quote
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user