Scrolling window cuts off text.

● ARCHIVED · READ-ONLY
Started by Yin 5 posts View original ↗
  1. Hopefully this has a simple solution.

    I've made a window and I want it to be scrollable up and down by the player. Everything works properly except that the text in the window gets cut off. How do I make that not happen? I'm using Tidloc's draw_html command from his HTML script to draw the text. I think I need to get the height of the text before drawing it. How do I do that?

    1f17b7668c.png
    There's more text after that, but it does not appear.
  2. Have less text on each line? It only shows what you tell it to show.
  3. As an example, I put a long quest in there. This is the full text that I am telling it to show.


    <big>Glowing Yellow Gem</big><br>

    Difficulty: <big><font=Seeing Stars><color=yellow>I</color></font></big>

    <color=disabled_color><line></color>

    Make Active - CTRL + Enter<br>

    An investigation is taking place in the forest on a mechanical contraption. No one can understand where this thing came from or how long it's been in Origin Forest. The ridders have come to uncover the mystery of it. Celia, a ridder who was sent to do some research, found a glowing yellow object and had intended to keep it for herself. Holding it made her feel full of alacrity. Unfortunately, as she was swimming through a cave deep in the forest near the investigation site, it slipped out of her pouch and she could never find it again.<br>

     

    She has tasked Jagen with finding this item and returning it to her.
    It is also word wrapping, so the problem is not the width. The problem is the text gets cut off after the window's height.
  4. Link to the script please.