[PR #245] [MERGED] fix(launcher): wrap long warnings within the window #2431

Closed
opened 2026-11-02 15:56:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/245
Author: @rdbtCVS
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/15/2026
Merged by: @ludovic111

Base: main ← Head: fix/launcher-warning-wrap


📝 Commits (1)

  • f9fdcd2 fix(launcher): let warning text wrap within the page

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 launcher/src/main.rs (+2 -0)

📄 Description

When resource preparation fails, the long warning stretches the Play page beyond the window, hiding the Play button and right-hand row controls. Allow the page wrapper to shrink within its padded flex row so the existing notice text wrapping uses the available width.

Validation:

  • Reproduced the missing Minecraft 26.3 warning before and after at 1040 × 700.
  • Checked wrapping and visible controls at 820 × 700; checked that the entire warning remains reachable by scrolling at the minimum 820 × 560 window size.
  • cargo build --manifest-path launcher/Cargo.toml --locked
  • cargo fmt --manifest-path launcher/Cargo.toml -- --check
  • cargo clippy --manifest-path launcher/Cargo.toml --locked --all-targets -- -D warnings
  • cargo test --manifest-path launcher/Cargo.toml --locked --lib (29 passed, 1 benchmark ignored).
  • Public tree and history checks passed.

Before (1040 × 700):

Before: warning overflows and pushes controls off-screen

After (1040 × 700):

After: warning wraps and controls remain visible

After at 820 px wide:

After: warning wraps at the minimum window width

Screenshots are hosted as release attachments on the fork; no image files are committed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/245 **Author:** [@rdbtCVS](https://github.com/rdbtCVS) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/15/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/launcher-warning-wrap` --- ### 📝 Commits (1) - [`f9fdcd2`](https://github.com/horizon-rust/horizon/commit/f9fdcd29127427489d50c8cd0b2bc03d77efe9e1) fix(launcher): let warning text wrap within the page ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/main.rs` (+2 -0) </details> ### 📄 Description When resource preparation fails, the long warning stretches the Play page beyond the window, hiding the Play button and right-hand row controls. Allow the page wrapper to shrink within its padded flex row so the existing notice text wrapping uses the available width. Validation: - Reproduced the missing Minecraft 26.3 warning before and after at 1040 × 700. - Checked wrapping and visible controls at 820 × 700; checked that the entire warning remains reachable by scrolling at the minimum 820 × 560 window size. - `cargo build --manifest-path launcher/Cargo.toml --locked` - `cargo fmt --manifest-path launcher/Cargo.toml -- --check` - `cargo clippy --manifest-path launcher/Cargo.toml --locked --all-targets -- -D warnings` - `cargo test --manifest-path launcher/Cargo.toml --locked --lib` (29 passed, 1 benchmark ignored). - Public tree and history checks passed. Before (1040 × 700): ![Before: warning overflows and pushes controls off-screen](https://github.com/rdbtCVS/horizon/releases/download/pr-evidence-launcher-warning-20261015/before.png) After (1040 × 700): ![After: warning wraps and controls remain visible](https://github.com/rdbtCVS/horizon/releases/download/pr-evidence-launcher-warning-20261015/after.png) After at 820 px wide: ![After: warning wraps at the minimum window width](https://github.com/rdbtCVS/horizon/releases/download/pr-evidence-launcher-warning-20261015/after-820.png) Screenshots are hosted as release attachments on the fork; no image files are committed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:56:04 +07:00
Sign in to join this conversation.
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
horizon-rust/horizon#2431
No description provided.