Skip to content

Commit fcc9dae

Browse files
henmediaclaude
andcommitted
Refresh the screenshot and correct the changelog on ExtentHeight
The screenshot now shows 1.8.2: two-column settings, Status last, the flat column headers and the four-line log. The changelog's Fixed entry still called ExtentHeight the authoritative number, two paragraphs above the entry explaining that it is not - it is not updated while the content fits. It also blamed an unreproducible strip on another machine; the cause turned out to be the outdated-copy notice collapsing after startup, which the log box now absorbs. Both corrected. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 7c9a905 commit fcc9dae

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,17 @@ Notable changes are recorded here. The format follows
5252
stopped 28 px short of its content: a scroll bar for a remainder that had room to spare, and
5353
a strip below the last group that looked like wasted space.
5454

55-
It now measures the scroll viewer's extent, which includes the margins, and measures twice:
56-
once the window is tall enough for the scroll bar to disappear, roughly 17 px of width come
55+
It now takes the panel's height plus its margins — the scroll viewer's own `ExtentHeight`
56+
looks like the authority but is not, see above — and measures twice: once the window is
57+
tall enough for the scroll bar to disappear, roughly 17 px of width come
5758
free, a wrapping paragraph can lose a line, and the content ends up shorter than what was
5859
just measured — so the second pass is allowed to shrink as well as grow. Three passes cap
5960
it, two pixels is the threshold below which another correction is not worth making.
6061

61-
Arithmetic alone was not enough, though: on another machine a visibly larger strip was left
62-
over than any calculation here reproduced. So the last step measures instead of computing.
63-
Whatever room is left in the viewport below the content *is* the empty strip, no matter how
64-
it came about — a margin, a scroll bar, a paragraph that re-wrapped — and it is subtracted,
62+
Arithmetic alone was not enough either, because a strip can also appear long after
63+
startup — when a box at the top collapses, which is what the log box above now absorbs. The
64+
last step of the fit therefore measures rather than computes: whatever room is left in the
65+
viewport below the content *is* the empty strip, whatever produced it, and it is subtracted,
6566
keeping one pixel so a rounding error cannot bring the scroll bar back. Verified by forcing
6667
the window 60 px too tall: the step puts it back exactly, to within a pixel.
6768

docs/screenshot.png

-1.41 KB
Loading

0 commit comments

Comments
 (0)