Skip to content

Show only the transfer rows that fit, instead of demanding all fourteen#68

Merged
xroche merged 2 commits into
masterfrom
fit-transfer-rows-to-panel
Jul 26, 2026
Merged

Show only the transfer rows that fit, instead of demanding all fourteen#68
xroche merged 2 commits into
masterfrom
fit-transfer-rows-to-panel

Conversation

@xroche

@xroche xroche commented Jul 26, 2026

Copy link
Copy Markdown
Owner

The panel asked for 267 dialog units of height whatever the screen offered, and the form view scrolled when it could not have them. On a 1280x800 display at 125% scaling that exceeds the client area even maximized, so the wizard buttons sat below the fold behind a scrollbar from the very first launch.

The template is now sized for eight rows and the rest appear as the panel grows. The grid works out how many rows fit the current height, hides the others, and closes the Actions frame under the last one on screen. Spacing is measured from the template at run time rather than hardcoded in dialog units, so it holds at any DPI.

Row visibility had two writers, this and the Actions checkbox, so the checkbox now goes through the same helper instead of showing rows that do not fit. Its comments had ModifyStyle arguments backwards, corrected while there.

Independent of #65: no shared files, and this measures the page own geometry rather than the sheet, which is what #65 changes.

CI cannot see layout, so this wants a look on the VM. Worth checking both directions: a small window should drop rows rather than scroll, and a large one should show all fourteen.

xroche and others added 2 commits July 26, 2026 11:35
The panel asked for 267 dialog units of height whatever the screen offered, and
the form view scrolled when it could not have them. On a 1280x800 display at
125% that is taller than the client area even maximized, so the wizard buttons
sat below the fold behind a scrollbar from the first launch.

Size the template for eight rows and let the rest appear as the panel grows.
The grid now works out how many rows fit the current height, hides the others,
and closes the Actions frame under the last one on screen. The spacing comes
from the template at run time rather than from hardcoded dialog units, so it
holds at any DPI.

Row visibility had two writers, this and the Actions checkbox, so the checkbox
now goes through the same helper rather than showing rows that do not fit. Its
comments claimed ModifyStyle's arguments were the other way round; corrected
while here.

Needs an eye on a VM: CI cannot see layout.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019HXNEMWtyrkW7xoD8ewcR3
Signed-off-by: Xavier Roche <roche@httrack.com>
@xroche
xroche merged commit e21f7c0 into master Jul 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant