Bug 460695 - Ability to size spacers based on percentage of panel width
Summary: Ability to size spacers based on percentage of panel width
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel Spacer widget (show other bugs)
Version: 5.26.0
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: veggero
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-19 06:23 UTC by Techognito
Modified: 2024-08-15 13:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Techognito 2022-10-19 06:23:38 UTC
SUMMARY
Recreating this request as https://bugs.kde.org/show_bug.cgi?id=460638, turned in to a bug about flexible spacers.

I would like the ability to set a panel spacer to a set percentage, so that if the monitor width changes, the distances of widgets are relative in the same space.
Comment 1 veggero 2022-10-19 08:19:16 UTC
Is this really necessary if https://bugs.kde.org/show_bug.cgi?id=460638 is fixed?
Comment 2 Techognito 2022-10-19 13:01:56 UTC
Well, yes and no.
It is still a feature that would be nice to have, but with flexible spacers working I am able to customize the panel how I wanted.

I will leave it up to you, if you think this would make the panel too complicated and too feature-rich (harder to maintain). I am fine with closing the request. However, if it is not too much work, I believe percentage would be easier than pixels for users (opinion based, might not be true for everyone).
Comment 3 Nate Graham 2022-10-19 17:58:40 UTC
Your choice, Niccolò.
Comment 4 veggero 2022-11-16 15:34:38 UTC
Will do
Comment 5 Niccolò Venerandi 2024-08-15 13:51:01 UTC
Well, eventually I didn't, and looking back I'd like to avoid this. The reason is purely because the spacer options are necessarily hardcoded within the panel, and I'd like to keep those as simple as possible, code-wise. There also does not seem to be much interest in it.