HomeGenie Forum

Development => Feature request => Topic started by: bkenobi on January 24, 2015, 06:53:13 PM

Title: Order of items in module setup is random
Post by: bkenobi on January 24, 2015, 06:53:13 PM
I just noticed that the order of items that are defined in C# scripts that are in the Program.Setup code display in a different order than when they are defined.  A quick test shows that the order is controllable, but not very cleanly.  The order is defined by the alphabetic sort of the comment field.  I can control the order by adding a "1, 2, 3, ..." to each item I add, but this is not the most pleasing when displayed.  Perhaps there could be some parameter defined that was optional that could be used to control the display order?  Or, maybe there is a way in code to keep them displayed in the same order as defined?  This is not a large issue, but when there are items that should be grouped by order, it does help (e.g., "Enable Log" would logically be next to "Log Path").

This does not seem to affect the module specific parameters, only the global script specific parameters.