diff options
| author | user <user@clank> | 2026-09-10 16:17:12 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-09-10 16:17:12 +0200 |
| commit | 4d00529a56c90b0506f28817809528ef31a1c499 (patch) | |
| tree | 8edd8987fe039be4b1e12d7065990cf51274c370 /docs | |
| parent | sidebar: framed like a pane, and in compact mode framed *with* it (tab_bar_ch... (diff) | |
| download | slosh-4d00529a56c90b0506f28817809528ef31a1c499.tar.gz slosh-4d00529a56c90b0506f28817809528ef31a1c499.tar.xz slosh-4d00529a56c90b0506f28817809528ef31a1c499.zip | |
sidebar: tab_bar_pad back to 0, now that the frame is the separation
The row of air was standing in for a boundary the sidebar did not have.
tab_bar_chrome gave it one, and a blank row inside the frame on top of
that reads as a gap nobody asked for. The knob stays for a bare sidebar
(tab_bar_chrome false), and for anyone who wants room at the top for a
borderless window's own buttons.
With the default at 0, Y0 in the tests is the unpadded first row and a
pad of N moves the list exactly N rows down from it, which is what the
pad test now says rather than carrying the default around in its
arithmetic.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/panes.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/panes.md b/docs/panes.md index 913d2cb..329e017 100644 --- a/docs/panes.md +++ b/docs/panes.md @@ -55,7 +55,7 @@ The strip of tabs sits along the top by default. It does not have to: ```kdl tab_bar_side "left" // or "right"; "top" is the default tab_bar_width 18 // columns the sidebar takes -tab_bar_pad 1 // blank rows above the first tab +tab_bar_pad 0 // blank rows above the first tab tab_bar_chrome true // frame it like a pane ``` |
