Skip to content
Commit 09893ea1 authored by Alex Čižinský's avatar Alex Čižinský Committed by Nate Graham
Browse files

Fix applet centering by spacers

Prior to this fix, when using spacers to center an applet in a panel,
the applet would be centered in the available space. However, the
desired behavior is for the applet to be centered in the middle of the
panel, just as it was in Plasma 5.27.

The reason of this bug are the API changes in KF6. Prior to this fix,
the code would try to call nonexistent properties, resulting in the
optimalSize property being NaN.

BUG: 476383
parent b3a39a6c
Pipeline #513024 canceled with stage
in 6 minutes and 16 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