Skip to content

Simplify code for plasmoid sizes and respect maximumWidth/Height of non-fillWidth/Height applets

Niccolò Venerandi requested to merge work/niccolove/plasmoidpositioning into master

Some applets don't fillWidth/Height, and yet they still set a MaxWidth/MaxHeight (and, usually, a minWidth/minHeight that's the same value). This respects the requested size, and tries to simplify the code using || as a fallback operator instead of nested ? : operators.

BUG: 477813 BUG: 476925

Edited by Nate Graham

Merge request reports

Loading