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

Allow * size in percent mode #333

Closed
Harpush opened this issue Nov 30, 2022 · 1 comment · Fixed by #336
Closed

Allow * size in percent mode #333

Harpush opened this issue Nov 30, 2022 · 1 comment · Fixed by #336

Comments

@Harpush
Copy link
Collaborator

Harpush commented Nov 30, 2022

Is your feature request related to a problem? Please describe.
We have a three splitted screen which should act as:

  1. 20%
  2. Half of remaining place (auto)
  3. Half of remaining place (auto)

Now theoretically we could say 2 and 3 are 40% but in our case the number 20 is dynamic. So we need to do (100 - x) / 2. And this scenario happens in multiple places.

Describe the solution you'd like
It could be better if in percent mode the null areas would take the remaining place distributed equally. In that way I could also save only the 1 split area size and not all three.

@Harpush
Copy link
Collaborator Author

Harpush commented Dec 2, 2022

Just adding that multiple wildcard areas are not possible as you can't know at what position they were left without binding. The linked PR implement a single wildcard support like pixel unit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant