aliens

Author Topic: [FIXED] Pedia's articles scrolling bug (OXC and OXCE)  (Read 691 times)

Offline Osobist

  • Sergeant
  • **
  • Posts: 34
    • View Profile
[FIXED] Pedia's articles scrolling bug (OXC and OXCE)
« on: August 13, 2023, 06:31:16 pm »
Weird bug with pedia's text scrolling due to, I believe, big article's title. Example:

In this entry the title is short enough to consist of only one line. The scrollable text goes from image bottom which is correct.

Spoiler:

But in this entry the title is two lines long. And the scrollable text goes from very screen bottom instead of image.

Spoiler:

The rulesets for both entries are identical.

Entry with correct scrolling:
  - id: STR_SCP_087_DESCENT_C
    type_id: 7
    section: STR_SCPS
    image_id: 087_STAIRS
    requires:
      - STR_SCP_087_DESCENT_C
    text: STR_SCP_087_DESCENT_C_SCPEDIA
    text_width: 140

Entry with incorrect scrolling:
  - id: STR_SCP_087_EXP_B_ANIMAL_TEST
    type_id: 7
    section: STR_SCPS
    image_id: 087_STAIRS
    requires:
      - STR_SCP_087_EXP_B_ANIMAL_TEST
    text: STR_SCP_087_EXP_B_ANIMAL_TEST_SCPEDIA
    text_width: 140
« Last Edit: December 02, 2023, 05:54:07 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8644
    • View Profile
Re: Pedia's articles scrolling bug
« Reply #1 on: August 31, 2023, 10:36:29 am »
Same in OXC.

Examples attached.

Opened in OXC bug tracker: https://github.com/OpenXcom/OpenXcom/issues/1424
« Last Edit: August 31, 2023, 10:39:58 am by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8644
    • View Profile
Re: [FIXED] Pedia's articles scrolling bug (OXC and OXCE)
« Reply #2 on: January 06, 2024, 03:10:23 pm »
Fixed.