Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StatusBar should clip, not overwrite, when last item doesn't fit #3569

Open
tig opened this issue Jun 26, 2024 · 1 comment
Open

StatusBar should clip, not overwrite, when last item doesn't fit #3569

tig opened this issue Jun 26, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@tig
Copy link
Collaborator

tig commented Jun 26, 2024

UHell44 1

@tig tig added the bug label Jun 26, 2024
@tig tig added this to the V2 Beta milestone Jun 26, 2024
@tig tig self-assigned this Jun 26, 2024
@dodexahedron
Copy link
Collaborator

Hmmm.

Thinking about that...

Probably better to have that be user-settable.

Not sure exactly what to call it.

WPF and windows forms allow you to pick how it behaves - each in their own way.

WPF uses a * after the number for a dimension as a "this one can scale" option, and all explicitly set just clip if it doesn't fit.

That would obviously require a bunch of work to do it because that would add a layer of stuff to Dim, so probably best not to take that approach.

But, a property for overflow mode or resize mode or something would be great.

Maybe I want the element on the left to always be exactly that size no matter what. Maybe I want all of them to, and just clip from the right. Maybe I want them to scale proportionally. Maybe I only care about one in the middle of the bar, and the rest can scale or clip as needed. Plenty of different potentially desired behaviors there.

@tig tig modified the milestones: V2 Beta, v2 Release Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants