Skip to content
Commit f3f7fc7f authored by Niccolò Venerandi's avatar Niccolò Venerandi Committed by Nate Graham
Browse files

Use available size instead of total size to force 1:1 ratio in panels

We use root.height/root.width as the fallback value for applet sizes
in panels; however this does not take in account the margins, so
applets might end up with height=root.height - margins and width=root.width
Instead, we fallback to the available width/height, which does take
margins in account.

(cherry picked from commit 79aa0fad)
parent 58be9b90
Pipeline #589799 failed with stage
in 7 minutes and 26 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment