Author Topic: [solved] how to force specific layout option list order?  (Read 5353 times)

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 861
    • View Profile
    • new projects
[solved] how to force specific layout option list order?
« on: December 14, 2015, 12:20:01 PM »
In my theme layout options are in "random" order. Well... at least not in the order that is coded in layout.nut file.

Is there a way to force specific list order?

A small thing, but this really drives me mad.
I have three options regarding background - one is on 3rd position of the list, second is on 5th and third option is on 7th.

« Last Edit: December 14, 2015, 01:34:29 PM by verion »

liquid8d

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 442
    • View Profile
Re: [help] how to force specific layout option list order?
« Reply #1 on: December 14, 2015, 12:47:33 PM »
just add order=x where x is the numbered order:

Code: [Select]
</ label="Player Up", help="Set player controls", is_input="yes", order=1 />
p1_up="R";

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 861
    • View Profile
    • new projects
Re: [help] how to force specific layout option list order?
« Reply #2 on: December 14, 2015, 01:34:12 PM »
Thank you.