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
Add manual button's layout manager #113
Comments
Yeah I've been thinking the current design (combobox) is not visually good. Maybe throw that design out and use DnD instead? |
Just a small mockup (not fully working tho): Peek.2021-09-27.21-39.mp4 |
Let's imagine each button position is marked with number
When we have only three possible buttons (close ⨯, maximize ⤢ and minimize ⤓), there are only nine positional combinations for buttons placement
Combinations with spaces between buttons, or with spaces between button and titlebar edge aren't useful, e.g. layout below seems to be too odd. It has nothing at position 2 (between 1 and 3) and nothing at position 6 (between 5 and right edge)
Let's assume close ⨯ button is required for any layout, and it must be placed at the titlebar edge (position 1 or 6). Then we have:
There are 22 possible layouts in total. |
The problem is predefined layouts don't provide all possible options. I think predefined layouts should be "Windows", "MacOS", "Ubuntu", "Reversed", and one more super-popular layout. And everything else should be constructed manually through some layout manager.
The text was updated successfully, but these errors were encountered: