Fix Settings tab being clipped out of the sidebar on small windows #275
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/isaac-btw--AmericasLauncher!275
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-275"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Skid-ster on GitHub · 2026-12-06 01:38 UTC · original
Skid-ster:fix/settings-tab-clipped-small-window→main· +8 −2 · 1 files · 1 commits · merged 2026-12-06 08:02 UTCProblem
Fixes #241 — "no settings tab".
At the minimum window height (
MinHeight="620") or under high display scaling, the fixed sidebar sections (logo block, 8 nav items, footer links/language) are together taller than the sidebar itself. The*row between the main nav and the footer is squeezed to nothing, and the bottom-anchored Port Status / Settings stack is placed below the visible area — so there is no Settings tab to click and no way to set the game path. Enlarging the window makes it reappear, but on small/high-DPI screens the minimum size is not enough, and Settings is exactly what a first-time user needs.Rough section sizes at
MinHeight: title bar/accent + sidebar padding ≈ 79, logo block ≈ 129, separator 28, main nav ≈ 376, Port Status + Settings ≈ 118, footer ≈ 96 — ≈ 747 needed vs ≈ 541 available.Change
One file,
src/AmericasLauncher/MainWindow.xaml:Gridin aScrollViewer(VerticalScrollBarVisibility="Auto", horizontal scrolling disabled).MinHeightbound to theScrollViewer'sViewportHeight. On tall windows the grid fills the viewport, the*row takes the spare space, and the layout is unchanged — Port Status/Settings stay pinned just above the footer links. On short windows the content keeps its natural height and the sidebar scrolls, so Settings is always reachable.No code-behind changes; all nav button names/handlers (
Nav_Checked,SettingsNavButton, …) are untouched.Testing
dotnet build src/AmericasLauncher/AmericasLauncher.csproj -c Release— succeeded, 0 errors (6 pre-existing warnings inMainWindow.Leila.cs/MainWindow.SaveMods.cs, unrelated to this change), matching the repo CI build step.MainWindow.xamlre-parsed as XML to confirm it is well-formed.I did not do a manual resize test of the built launcher — worth a quick check at the minimum size / 150% scaling before merging.
@isaac-btw on GitHub · 2026-12-06 08:02 UTC · original
Thanks!!!