-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
[Enhancement] yabai padding issue #2502
Comments
Maybe I'm not thinking clearly and my math is wrong, but lets say built-in macOS notched-display on M1 macbook with resolution set to 1800x1169. 1800 - left padding (15) - right padding (15) = 1770. So we have 1770px width that is available for tiling. Split 1770 between two windows with a 15px gap; each window should have a width of: (1770 - 15) * 0.5 = 877.5. left window +15 gap right window 1800 - 1784 = 16 pixel right_padding the right window can be positioned at 908 instead, but then you get 16px gap between windows instead. |
Hm.. so maybe I should be setting all the gaps to even numbers(?) that makes a lot of sense |
I think visually it would look better if we sacrificed the in-between spacing vs outside. This will look more polished as it is very hard to tell or eyeball the center of the screen versus the edges... This will being polish to yabai |
Adjusted on the latest master. |
yabai version irrelevent, happened since 6.x.x, still happening on 7.1.5
macOS version irrelevent, happened since 13.x.x, still happening on 15.0.0
Yabai on macOS has an issue with the gaps.
if you pay really close attention, the spacing on gaps on the left side is correct. the spacing on the right is incorrect. yabai makes the workspace right-side have more space than it should.
Look at the left gap, then the right gap. edges of the window.
I am using this config:
however, looking closely at the image, we see that it doesn't matter, the right side has more gap than the left.
Here is another example, just one window:
The text was updated successfully, but these errors were encountered: