fix(ui): fade overflowing scroll content into its container background #399

Merged
HumanBean merged 1 commit from Jer9/LongshotLauncher:fix/scroll-fade-container-bg into main 2026-12-02 23:55:57 +00:00
Member

Summary

Follow-up to #394.

In #394, the 48px #000000 bottom overflow scrim stood out as a dark rectangle against Ink.page and Ink.well surfaces. This switches ScrollView and PageList to fade overflowing content into the container's own background (32px, 0% -> 65% -> 100%):

  • Default fade-color on ScrollView and PageList is Ink.page.
  • DialogCard (Ink.black), SidePanel (Ink.black, including ReleaseBody), and setup.slint (Ink.black) pass fade-color: Ink.black.
  • Ink.well containers (license-document.slint, build-progress.slint, mods.slint) pass fade-color: Ink.well.

Screenshots

Before (origin/main) vs After (fix/scroll-fade-container-bg), rendered with MinimalSoftwareWindow using synthetic data (see attached PNGs):

  • fade-compare-page.png (overflowing Saves PageList on Ink.page)
  • fade-compare-dialog.png (overflowing GraphicsDriverDialog on Ink.black)

Testing

  • cargo clippy --locked --all-targets -- -D warnings passed (0 warnings).
  • cargo test --locked controller::tests passed (1/1).
  • Verified visually on Windows 11 in the launcher's build/release-notes view.
## Summary Follow-up to #394. In #394, the `48px` `#000000` bottom overflow scrim stood out as a dark rectangle against `Ink.page` and `Ink.well` surfaces. This switches `ScrollView` and `PageList` to fade overflowing content into the container's own background (`32px`, `0% -> 65% -> 100%`): - Default `fade-color` on `ScrollView` and `PageList` is `Ink.page`. - `DialogCard` (`Ink.black`), `SidePanel` (`Ink.black`, including `ReleaseBody`), and `setup.slint` (`Ink.black`) pass `fade-color: Ink.black`. - `Ink.well` containers (`license-document.slint`, `build-progress.slint`, `mods.slint`) pass `fade-color: Ink.well`. ## Screenshots Before (`origin/main`) vs After (`fix/scroll-fade-container-bg`), rendered with `MinimalSoftwareWindow` using synthetic data (see attached PNGs): - `fade-compare-page.png` (overflowing `Saves` `PageList` on `Ink.page`) - `fade-compare-dialog.png` (overflowing `GraphicsDriverDialog` on `Ink.black`) ## Testing - `cargo clippy --locked --all-targets -- -D warnings` passed (0 warnings). - `cargo test --locked controller::tests` passed (1/1). - Verified visually on Windows 11 in the launcher's build/release-notes view.
fix(ui): fade overflowing scroll content into its container background
Some checks are pending
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Blocked by required conditions
CI / Rust formatting, lint and tests (pull_request) Blocked by required conditions
CI / Release packages and stable upgrades (pull_request) Blocked by required conditions
PR title / Conventional Commit title (pull_request) Blocked by required conditions
ab0c1d9a12
Assisted-by: Antigravity
Author
Member

Before (origin/main) vs After (PR #399) side-by-side comparisons (rendered with MinimalSoftwareWindow using synthetic data):

  1. fade-compare-page.png: overflowing Saves PageList on Ink.page
  2. fade-compare-dialog.png: overflowing GraphicsDriverDialog on Ink.black

fade-compare-page.png

fade-compare-dialog.png

Before (`origin/main`) vs After (`PR #399`) side-by-side comparisons (rendered with `MinimalSoftwareWindow` using synthetic data): 1. `fade-compare-page.png`: overflowing `Saves` `PageList` on `Ink.page` 2. `fade-compare-dialog.png`: overflowing `GraphicsDriverDialog` on `Ink.black` ![fade-compare-page.png](https://git.magicbean.dev/attachments/b4938258-d40c-453f-91a0-6c568c47242a) ![fade-compare-dialog.png](https://git.magicbean.dev/attachments/016c4c19-35ce-45a5-979d-d69cb801d05c)
HumanBean deleted branch fix/scroll-fade-container-bg 2026-12-02 23:55:57 +00:00
Some checks are pending
CI / What the change needs (pull_request) Blocked by required conditions
CI / Lint (actionlint, ShellCheck, gitleaks) (pull_request) Blocked by required conditions
CI / Rust formatting, lint and tests (pull_request) Blocked by required conditions
CI / Release packages and stable upgrades (pull_request) Blocked by required conditions
PR title / Conventional Commit title (pull_request) Blocked by required conditions
Some workflows are waiting to be reviewed.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/LongshotLauncher!399
No description provided.