mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
diff --git a/sources/awesome-widget/package/contents/ui/main.qml b/sources/awesome-widget/package/contents/ui/main.qml
|
|
index 79c6ddf..0e20bc9 100644
|
|
--- a/sources/awesome-widget/package/contents/ui/main.qml
|
|
+++ b/sources/awesome-widget/package/contents/ui/main.qml
|
|
@@ -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
|
|
diff --git a/sources/desktop-panel/package/contents/ui/main.qml b/sources/desktop-panel/package/contents/ui/main.qml
|
|
index 5a1e9b6..20f8732 100644
|
|
--- a/sources/desktop-panel/package/contents/ui/main.qml
|
|
+++ b/sources/desktop-panel/package/contents/ui/main.qml
|
|
@@ -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
|
|
|