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

Make the tool box fixed on the left with a single column. #155

Merged
merged 1 commit into from Dec 21, 2020

Conversation

jpobst
Copy link
Contributor

@jpobst jpobst commented Dec 21, 2020

By fixing the Toolbox on the left and restricting it to a single column, we can switch to using GTK's built-in Toolbar instead of the custom wrapping container we currently use. This has the benefit of properly handling overflow items if there is not enough space to show all items, which our current toolbox doesn't do.

This also sorts the tools to be better grouped for a single column, and to place to "more important" tools higher so they do not go to overflow. The decision of what is "more important" is completely subjective, so it can be changed based on other opinions.

toolbox

Copy link
Member

@cameronwhite cameronwhite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, thank you!
I think the ordering of the tools is reasonable - on my machine, with the default window size only the Clone Stamp and Recolor tools were in the overflow list

@cameronwhite cameronwhite merged commit 85c2b60 into PintaProject:gtk3-v2 Dec 21, 2020
@jpobst jpobst deleted the toolbox branch December 21, 2020 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants