mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-25 07:57:19 +00:00
some fixes in ui
This commit is contained in:
parent
88c3e780cf
commit
26c51007e0
@ -122,36 +122,31 @@ Item {
|
|||||||
|
|
||||||
|
|
||||||
// ui
|
// ui
|
||||||
Grid {
|
Text {
|
||||||
columns: 1
|
id: text
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
textFormat: Text.RichText
|
||||||
|
wrapMode: Text.NoWrap
|
||||||
|
|
||||||
Text {
|
horizontalAlignment: general.align[plasmoid.configuration.textAlign]
|
||||||
id: text
|
verticalAlignment: Text.AlignVCenter
|
||||||
anchors.fill: parent
|
|
||||||
textFormat: Text.RichText
|
|
||||||
wrapMode: Text.NoWrap
|
|
||||||
|
|
||||||
horizontalAlignment: general.align[plasmoid.configuration.textAlign]
|
color: plasmoid.configuration.fontColor
|
||||||
verticalAlignment: Text.AlignVCenter
|
font.family: plasmoid.configuration.fontFamily
|
||||||
|
font.italic: plasmoid.configuration.fontStyle == "italic" ? true : false
|
||||||
|
font.pointSize: plasmoid.configuration.fontSize
|
||||||
|
font.weight: general.fontWeight[plasmoid.configuration.fontWeight]
|
||||||
|
|
||||||
color: plasmoid.configuration.fontColor
|
text: plasmoid.configuration.text
|
||||||
font.family: plasmoid.configuration.fontFamily
|
|
||||||
font.italic: plasmoid.configuration.fontStyle == "italic" ? true : false
|
|
||||||
font.pointSize: plasmoid.configuration.fontSize
|
|
||||||
font.weight: general.fontWeight[plasmoid.configuration.fontWeight]
|
|
||||||
|
|
||||||
text: plasmoid.configuration.text
|
PlasmaCore.ToolTipArea {
|
||||||
|
height: tooltip.height
|
||||||
PlasmaCore.ToolTipArea {
|
width: tooltip.width
|
||||||
height: tooltip.height
|
mainItem: Text {
|
||||||
width: tooltip.width
|
id: tooltip
|
||||||
mainItem: Text {
|
height: contentHeight
|
||||||
id: tooltip
|
width: contentWidth
|
||||||
height: contentHeight
|
textFormat: Text.RichText
|
||||||
width: contentWidth
|
|
||||||
textFormat: Text.RichText
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user