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

Splits of very narrow nodes happen in wrong directions #156

Open
Adanos020 opened this issue Aug 13, 2023 · 0 comments
Open

Splits of very narrow nodes happen in wrong directions #156

Adanos020 opened this issue Aug 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Adanos020
Copy link
Owner

Adanos020 commented Aug 13, 2023

Describe the bug
If a node you're splitting is narrow enough, the tab you're putting in it will not always be placed on the side you've picked. For example (shown below), if you have a very narrow tab on the right side of the DockArea and attempt to place another tab on its right hand side, it will instead land above it instead.

To Reproduce
Steps to reproduce the behavior:

  1. Run the hello example
  2. Move all tabs minus one to the right, so that the rightmost ones get very narrow (you may need shrink your application window to reproduce the exact conditions)
  3. Try moving the last tab to the right hand side of the rightmost tab.
  4. If the previously rightmost tab was narrow enough, the new tab will be inserted above it.

Expected behavior
In the example I've described, the tab should be placed on the right hand side, i.e. the side the user picked.

Screenshots
image

@Adanos020 Adanos020 added the bug Something isn't working label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant