Weather floater: make it scrollable and resizable (fixed 835 px height runs off small / scaled screens) #1224

Closed
opened 2026-10-28 19:04:44 +00:00 by sky_line · 1 comment
Owner

The Weather floater (indra/newview/skins/default/xui/en/floater_sl_weather.xml) is a fixed 320 x 835 px with can_resize="false" and no scroll container. On smaller or scaled displays (e.g. 1080p at 125% UI, laptops), the bottom of the floater runs off screen and its last controls can't be reached.

Fix

  • Wrap the floater's contents in a scroll_container, with a vertical scrollbar when the floater is shorter than its contents.
  • Make the floater resizable vertically (can_resize="true", a sensible min_height, width fixed or with a min width), and remember its size.
  • When it opens, clamp it to the visible area (below the top bars, above the bottom toolbar) so it never starts off screen.
  • Check any other tall Slipstream floaters with the same pattern (fixed height > ~700 px, no scroll), e.g. the weather / environment / graphics floaters we added, and fix them the same way.

Test

1080p at 125% and 150% UI scale, and a small window: every control reachable by scrolling; resizing works; the size persists.

The Weather floater (`indra/newview/skins/default/xui/en/floater_sl_weather.xml`) is a fixed **320 x 835** px with `can_resize="false"` and no scroll container. On smaller or scaled displays (e.g. 1080p at 125% UI, laptops), the bottom of the floater runs off screen and its last controls can't be reached. ## Fix - Wrap the floater's contents in a `scroll_container`, with a vertical scrollbar when the floater is shorter than its contents. - Make the floater resizable vertically (`can_resize="true"`, a sensible `min_height`, width fixed or with a min width), and remember its size. - When it opens, clamp it to the visible area (below the top bars, above the bottom toolbar) so it never starts off screen. - Check any other tall Slipstream floaters with the same pattern (fixed height > ~700 px, no scroll), e.g. the weather / environment / graphics floaters we added, and fix them the same way. ## Test 1080p at 125% and 150% UI scale, and a small window: every control reachable by scrolling; resizing works; the size persists.
sky_line added this to the Slipstream project 2026-10-28 19:04:44 +00:00
Author
Owner

Shipped in 1.4.6 and 1.5.0 Beta 5 (2026-10-29).

Shipped in **1.4.6** and **1.5.0 Beta 5** (2026-10-29).
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
sky_line/Slipstream#1224
No description provided.