upload vertical alignment patch, fix code (#94)

This commit is contained in:
2016-05-09 04:07:58 +03:00
parent 4bcdb3a7ff
commit 734cbe2f4c
3 changed files with 28 additions and 2 deletions

View File

@ -84,7 +84,7 @@ Item {
// ui
Text {
id: text
anchors.fill: Plasmoid.Layout
anchors.fill: parent
renderType: Text.NativeRendering
textFormat: Text.RichText
wrapMode: plasmoid.configuration.wrapText ? Text.WordWrap : Text.NoWrap

View File

@ -57,7 +57,7 @@ Item {
// ui
GridLayout {
anchors.fill: Plasmoid.Layout
anchors.fill: parent
columns: plasmoid.configuration.verticalLayout ? 1 : dpAdds.numberOfDesktops()
rows: plasmoid.configuration.verticalLayout ? dpAdds.numberOfDesktops() : 1