Dialog:simpleLongPopup() line spacing

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2531
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Dialog:simpleLongPopup() line spacing

#1 Post by Zizzo »

A small one: engine/Dialog.lua line 67, in the Dialog:simpleLongPopup() method:

Code: Select all

                        r, g, b = s:drawColorStringBlended(self.font, list[i], 5, h, r, g, b) h = h + th
I'm pretty sure that 'th' on the end needs to be 'fh'; as it is, line spacing is horrendous and all but the first couple lines fall off the end of the dialog.
"Blessed are the yeeks, for they shall inherit Arda..."

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Dialog:simpleLongPopup() line spacing

#2 Post by darkgod »

Dont use engine.Dialog, it's deprecated.
Use engine.ui.Dialog
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply