Lua V2 Dialogs

Case number:671071-993407
Topic:Game: Other
Opened by:Darkknight900
Opened on:Tuesday, August 28, 2012 - 10:42
Last modified:Tuesday, August 28, 2012 - 11:33

If you have a too long string either at a label or a button or a slider etc. the window and or the additional items wont consider the long string. Long strings must be splitted for now :/
Hopefully this can be fixxed soon.

(Tue, 08/28/2012 - 10:42  |  3 comments)

Joined: 08/29/2010

Here is a screenshot what i mentioned.

gramps's picture
User offline. Last seen 7 years 51 weeks ago. Offline
Joined: 12/16/2010

You can have a two-line string by using lua strings delimited with [[ ... ]] as follows:

ask.AA = dialog.AddCheckbox([[Note the AA code
hello this is a long strong on two lines]], true)

Joined: 08/29/2010

ok that worked thank you didn't know that this lua convention had affect to this but its annoying anyway... thank you


Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons