Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Some way to scroll over large text boxes #11201

Closed
2 tasks done
SpacedOutChicken opened this issue Feb 26, 2024 · 5 comments · Fixed by #11218
Closed
2 tasks done

Feature request: Some way to scroll over large text boxes #11201

SpacedOutChicken opened this issue Feb 26, 2024 · 5 comments · Fixed by #11218
Labels

Comments

@SpacedOutChicken
Copy link
Contributor

SpacedOutChicken commented Feb 26, 2024

Before creating

  • This is NOT a gameplay feature from Civ VI, BNW, or outside - see Roadmap
  • This is NOT a gameplay feature from Vanilla Civ V or from G&K - If so, it should be a comment in Missing features from Civ V - G&K #4697

Problem Description

In a recent mobile game, when selecting a unit for upgrade, there was too much text on the box that popped up, and I couldn't select the "upgrade all" button because it was off the screen. In situations like this where there's lots of text, it would be nice to have a way of scrolling over the pop-up box in order to see all the text and all the options.

Related Issue Links

Screenshot_20240225_173100_Unciv

Desired Solution

Some kind of scroll bar on the side would be ideal.

Alternative Approaches

If a scroll bar isn't possible, then widening the box might be nice in cases where there's too much text.

Additional Context

No response

@SomeTroglodyte
Copy link
Collaborator

If a scroll bad isn't possible,

An evil scroll? Or do you mean a scroll bath?

@SpacedOutChicken
Copy link
Contributor Author

I mean a scroll bar. Sorry for the typo. I'll try to get you that saved game soon.

@SpacedOutChicken
Copy link
Contributor Author

CannotUpgrade.json
Here's a saved game with two Helicopter units ready to upgrade.

The issue may only appear on mobile, due to the small screen.

@SomeTroglodyte
Copy link
Collaborator

a scroll bar

Because scrolls are consumables to wizards and mages, they're served in a bar too? 🤪

@SomeTroglodyte
Copy link
Collaborator

Here's a saved game

Says "nation New Africa not found". Or mod versions... Yes, newer DeRx. Pity my initial steps to get Mod versioning in were rejected...

... if I improve the Widget AnimatedMenuPopup to handle this, then
a) Buttons and all will be included in the scrolling part
b) No contol over the width
... on the other side, treating each 'client' individually would be a lot more effort. Or, revisit concepts and see why I did not reuse the existing services of Popup for that - I think because I couldn't get the free positioning /animate-in-out ideas to work.

may only appear on mobile

Nah, such things can easily be tested on desktop - free resizing, and the "display size" settings are always relative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants