Author Topic: [Suggestion] Scrolling indicator for long text in UFOpedia articles or other.  (Read 179 times)

Offline Leosky

  • Squaddie
  • *
  • Posts: 4
    • View Profile
I'm actually working on the french translation of XCF ; i encounter an issue other language may encounter and I heard of modders having issue with this too : If an article is too long, the fact that you may have to scroll for the rest of the text isn't clear or well rendered.

So my suggestion is to add a better handling of this in OXCE.

Problems :


* No indication that you can scroll down
* Last line overlap the frame border

Suggestion :
When on top :


When at bottom :


When in  the middle :


Recap:
* Text rendered below the frame border
* A spacer when you are at the bottom to avoid the indicator to overlap the end of the text

It may need the possibility to indicate if it's rendered at the left or the right of the frame (or may be the exact position). I'm not aware of how ui modding works but i think it might help a lot of modders and translators and allow to write extended texte for ambiance or informations.

Offline Nord

  • Commander
  • *****
  • Posts: 1718
  • The Gate is open.
    • View Profile
Totally agree. For android oxce this will be very useful.

Offline Leosky

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Totally agree. For android oxce this will be very useful.

Didn't tough about that but yeah it should be a mess on android.

Offline Ethereal

  • Commander
  • *****
  • Posts: 672
    • View Profile
Apparently expression; “Conciseness is the sister of talent” was forgotten.  :D

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8888
    • View Profile
OpenXcom Text component doesn't support scrollbars.

If anyone knows how to implement it, feel free to make a PR for Openxcom.

Offline Leosky

  • Squaddie
  • *
  • Posts: 4
    • View Profile
I might try when i finished the first pass on XCE french translation. But my c++ is kinda rusted so if someone more into c++ want to make it...