Page 1 of 1

Dialog:simpleLongPopup() line spacing

Posted: Fri Sep 21, 2012 1:20 am
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.

Re: Dialog:simpleLongPopup() line spacing

Posted: Fri Sep 21, 2012 1:44 pm
by darkgod
Dont use engine.Dialog, it's deprecated.
Use engine.ui.Dialog