Option for alternating growth/sort
JVemmer opened this issue · 0 comments
Is your feature request related to a problem? Please describe.
Not really a problem, but it would be nice with an option of "alternating" growth or sort for dynamic groups. I opened a help request on the WeakAuras Discord (https://discord.com/channels/172440238717665280/1040744983541579867), where I tried to give a written example, and later just used pictures (they are posted below in this ticket as well.
Basically, when making a dynamic group with a limit set, and using one of the "centered" alignments, in order to get the "most important" aura in the middle, you will need to "pad" the dynamic group with auras "above" it in the WeakAuras list. But this makes for some wonky interaction in terms of which auras are displayed due to the limit. The screenshots blow will do a much better job explaining what I am talking about.
Describe the solution you'd like
I would like an "alternating" growth option or sort option (not really sure about the best term for this). Personally I am using the "centered horizontal" growth option at the moment, with sorting set to "none", so something like "alternating horizontal" growth, or an "alternating centered" sort option, where if you have an odd number of auras/use an odd numbered limit, the "top aura" is set in the middle (again, screenshots will tell a much better story).
Describe alternatives you've considered
- Using a custom growth, as was recommended in the help ticket I linked above. This is no doubt possible, but far outside my abilities in LUA, and I haven't been able to find a custom growth option that didn't require hard-coding a lot of values (I would want to reuse this custom thing for a bunch of auras, that may vary in size).
- Manually having to readjust the order of auras is possible, but does not solve the whole case of what I am looking for.
Additional context
Here is a demo dynamic group, with auras, that I made for testing:
Imagine that each aura is listed in descending order of importance... So 1 is the most important, then 2, then 3, and so on.
Using the "centered horizontal" grow, it will show up like this:
But I would like it to show up like this:
Maybe even with a way of configuring which direction to start with... Using the above screenshot as an example, a way to choose between 42135 and 53124 for the growth/sort 🤔