WeakAuras2 icon indicating copy to clipboard operation
WeakAuras2 copied to clipboard

Add Full Justification layout for Custom Options

Open Colorado4Wheeler opened this issue 6 years ago • 5 comments

Is your feature request related to a problem? Please describe. Only aesthetically.

Describe the solution you'd like I would like to see the custom options automatically space fields according to their current size over the span of the two columns. I.e., if I set 3 fields all to 0.6 for a total of 1.8 then that extra 0.2 is split among the fields to space them since the field widths themselves don't take the entirety of the two columns. Obviously this would only be for fractionally sized fields since a size of 1 or 2 would take the column.

Right now it can be hard to really see that delineation between fields because it's only a couple of pixels wide.

Describe alternatives you've considered None that I can think of will address this.

Additional context When you look at this screenshot you can see there is a lot of extra space but the fields are still crammed together. screen shot 2019-02-22 at 10 39 54 am

Colorado4Wheeler avatar Feb 22 '19 17:02 Colorado4Wheeler

So, what you’re asking for is the ability to use Full Justification?

emptyrivers avatar Feb 22 '19 17:02 emptyrivers

Yea, I think that probably describes it pretty well.

Colorado4Wheeler avatar Feb 22 '19 17:02 Colorado4Wheeler

I've not forgotten this, but here are some thoughts:

  • Layouting is always something I'd like to improve
  • A workaround exists already by adding spaces with the right widths in between your options
  • This specific request is very narrow, and could be served by more comprehensive GUI options.
  • This is not something which AceConfig (the library we use to render the Options pane) supports natively. So implementing this would require a nontrivial amount of development.

So, given that, I am going to put this on hold for now. I do intend to take another look eventually, but for now you can use the workaround I mentioned.

emptyrivers avatar Mar 01 '19 01:03 emptyrivers

I totally understand the difficulties of trying to do it - UI is often the hardest part of any software project.

I'm not sure how your workaround works, I added spaces to the Display Name and have increased the width of the fields and neither seems to fix the spacing between the fields themselves.

Colorado4Wheeler avatar Mar 01 '19 15:03 Colorado4Wheeler

There’s a space option type.

emptyrivers avatar Mar 01 '19 16:03 emptyrivers