| Summary: | Set flexible size is inconstant | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | pqwoerituytrueiwoq |
| Component: | Panel Spacer widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.11 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Screenshot | ||
|
Description
pqwoerituytrueiwoq
2024-09-03 16:06:13 UTC
Flexible spacers have a variable length by design, hence "flexible." If you'd like to set the spacers to be, shall we say, non-flexible, you can do that too: just right-click them and you'll be able to access a way to give them a hardcoded width. I would expect them to expand to fill the panel, so if i put 2 of them they will fill 1/2 the empty space evenly, thus all flexible spaces on the panel will have the same calculated size this is what i expect: [total empty space in panel] / [number of flexible spaces in panel] = flex size if you look at my screenshot i have no idea how it is deciding the size of the spaces Well that's not the way it actually works, sorry. :) If it did, it would be impossible to center items on the panel using Flexible Spacers, which is their primary use case. Wait is actually able to center stuff... seems the issue is it does not deal well with also trying to 'center' stuff in the free space around the centered widget i did find another issue, but i will make a separate report for that |