Skip to content

Remove the scrollbar line from loading and text popups - #50

Open
YoruDev-Ryland wants to merge 1 commit into
sofianeelhor:devfrom
YoruDev-Ryland:pr/fix-popup-scrollbar
Open

YoruDev-Ryland wants to merge 1 commit into
sofianeelhor:devfrom
YoruDev-Ryland:pr/fix-popup-scrollbar

Conversation

@YoruDev-Ryland

Copy link
Copy Markdown

LoadingOverlay and TextPopup.ShowLineAsync open with Kit.OverlayWindow, which wraps content in a ScrollView by default. Their content never scrolls, but on the AYN Odin 3 the scrollbar still shows as a dark vertical line on the right edge.

Both now pass scroll: false, so they size to their content with no scrollbar. Other overlays are unchanged.

To check: open any loading popup on an Odin 3, for example while opening a save. Before this change the line is visible. After, it is gone.

LoadingOverlay and TextPopup.ShowLineAsync wrapped their short, fixed
content in OverlayWindow's ScrollView. That ScrollView claims the full
host height, so the popup stretched top to bottom with its content
bunched at the top, and on some screens (seen on an AYN Odin 3,
1920x1080) the content rounded a pixel past the viewport and Android
drew a scrollbar as a dark vertical line down the window's right edge.
Both now pass scroll: false, as PadMenu already does for short menus.
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