feat: percentage-based container sizing with live boundary resize
All checks were successful
Build and Test / build (pull_request) Successful in 24s
Build and Test / release (pull_request) Has been skipped

- Windows are sized as ratios of their container; new windows get 1/n
  and existing windows scale proportionally
- Boundaries can be dragged live; resize is clamped only to prevent
  pane inversion (no minimum ratio enforced)
- Add reset-ratios keybinding to equalize splits in the active container
- Collapse duplicate logic, remove dead code, clean up prefs and schema
This commit is contained in:
Lucas Oskorep
2026-02-25 11:33:12 -05:00
parent 3d2da0a4bc
commit d9197babfb
8 changed files with 388 additions and 409 deletions

View File

@@ -49,5 +49,11 @@
<description>Toggles the orientation of the container holding the active window between horizontal and vertical</description>
</key>
<key name="reset-ratios" type="as">
<default><![CDATA[['<Primary>z']]]></default>
<summary>Reset container ratios to equal splits</summary>
<description>Resets all window size ratios in the active window's container to equal splits</description>
</key>
</schema>
</schemalist>