https://bugs.kde.org/show_bug.cgi?id=442675

--- Comment #4 from Michail Vourlakos <mvourla...@gmail.com> ---
(In reply to doncbugs from comment #3)
> 
> Taking into account how many cases there are, I believe a user control makes
> more sense in the short-term case. Just as having a half height panel is a
> style, there can also be a slider to allow content to move into the corners
> like the Plasma panel does. No. 4 shows this comparison.
> 

My initial thoughts were to let all indicators to set two options:
   a) Painted Area Thickness Margin (the painted area is considered centered
always so the thickness margin is used both for bottom and top margins)
   b) Painted Area Roundness (the painted area is considered always a centered
rectangle but the indicator can specify the painted area roundness)

Benefits:
 - with [a+b] Latte could possibly define what is the best positioning of panel
background in order to feel right and it could also use some clipping method
 - [a+b] can be user-specified if that is what the indicator creator wants at
per dock/panel basis
 - [a+b] could also be indicator auto-adjusted based on each indicators
settings and requirements

On the other hand, the calculations for [a+b] could break in many ways so this
can not be a v0.10.x branch solution.

-------------------

What can be done at this point is to introduce in the Indicators API (at
v0.10.3 or v0.10.4) a new option probably called: "Corner Margin" that could
take values between 0 - 100% . Each Indicator will take the responsibility to
provide it or not for the user to alter. Latte and Plasma indicators could
possibly introduce it after the Indicators API has been extended by default.
That option default value will be 100% and that would mean the current
behavior, 50% would mean half distance from background edge and 0% would mean
almost touching it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to