OpenXcom Forum

OpenXcom Forks => OXCE Bugs => OpenXcom Extended (OXCE) => OXCE Bugs FIXED => Topic started by: Osobist on August 13, 2023, 06:31:16 pm

Title: [FIXED] Pedia's articles scrolling bug (OXC and OXCE)
Post by: Osobist 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.

(https://i.imgur.com/cFCwsyO.png)

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

(https://i.imgur.com/17HOBpu.png)

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
Title: Re: Pedia's articles scrolling bug
Post by: Meridian 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
Title: Re: [FIXED] Pedia's articles scrolling bug (OXC and OXCE)
Post by: Meridian on January 06, 2024, 03:10:23 pm
Fixed.