Scripting problem


DuM
 Share

Recommended Posts

I want to make an ArrayList lua. What I want to achieve is to first set a box and compare the width of the box with the enabled function. If the text width of the enabled function is larger than the width of the predefined box, then the width of the predefined box is equal to the text width+5 or+10, but I still have a problem: how to sort the length, such as when the second enabled function is longer than the first and when there are multiple enabled functions, how to prioritize functions with longer text length?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share