aseprite / aseprite

Animated sprite editor & pixel art tool (Windows, macOS, Linux)
https://www.aseprite.org
29.51k stars 6.2k forks source link

Group buttons outside the window bounds #4708

Open dacap opened 1 month ago

dacap commented 1 month ago

There are several UI issues when the window is too small and we could fix. The most important ones are the context bar:

image

And the tool box:

image

But it can happen in other cases.

One solution would be to group buttons in on last "..." button:

image image

ckaiser commented 3 weeks ago

I've got a first draft of a solution for the toolbar, as seen here:

https://github.com/user-attachments/assets/6514a08c-577f-48ba-8558-5897c3202345

The only thing that's a bit janky with this solution is that when you get to very silly heights it results in very silly popup lengths: image

but it's technically still usable, so it's a definite improvement over what's currently happening.

If you like the solution @dacap I'll clean it up and open a PR.

dacap commented 3 weeks ago

@ckaiser it looks great! you can open the PR as it is, and in a future we could see how to rearrange the buttons better.

With your video I've noticed another (unrelated) issue: https://github.com/aseprite/aseprite/issues/4719, but that is for other PR.