Dragonflight UI Classic

Dragonflight UI Classic

117k Downloads

Make padding/scale sliders smaller increments?

JayMoorhouse opened this issue ยท 2 comments

commented

Firstly you're a god. thank you for this. This is a very minor request--sorry if it's a bit too particular...

Anyway, on DF the padding is whole numbers and the scale is 10% increments:

image

However with these values, it's possible to lineup a larger scale action bar start/end to smaller ones with matching padding (i.e. top row is larger but it still lines up):

image

On DFUI classic, these values don't have the same result (expected, I understand), but is it possible to make padding/scale smaller increments in order to more closely control them? E.g. scale @ 1% increment and padding to the .1?

Scale 1.20, padding 1
image

Sale 1.20, padding 2
image

With padding/scale values, it's impossible to line up the start/end of the top actionbar to the others like in first screenshot. E.g. padding 1.5 would do this.

<3<3

commented

works like a charm. I made padding 1.5 and it's perfect :) thanks so much again for both the addon and now for your help

commented

Hey,
If i dont find any issue with it, I will include it in the next version.
You could test yourself if its how you would like it:

go to: Modules/Actionbar.lua ,line 465-473

 padding = {
    type = 'range',
    name = 'Padding',
    desc = '' .. getDefaultStr('padding', barname),
    min = 0,
    max = 10,
    bigStep = 1,
    order = 11
},

You can play with the value "bigStep", e.g change '1' to '0.1'

You could also change line 438-446

 buttonScale = {     
    ...
    bigStep = 0.1,
    ...
},

and use '0.05'

There might be rounding errors with too small values tough.

After wildly clicking around for two seconds I got this:
image
Seems close.