some fixes in ui

This commit is contained in:
arcan1s 2015-05-11 01:29:42 +03:00
parent 88c3e780cf
commit 26c51007e0

View File

@ -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
}
} }
} }
} }