Simple Item Levels

Simple Item Levels

2M Downloads

Feature Request: Movable ilvl number text within the gear icon.

Ookami313 opened this issue ยท 2 comments

commented

Requesting the ability to move the position of the ilvl number text in the gear icon field? Currently it is positioning itself in the upper right of the item icon which ends up over lapping the informational symbol for addons such as Can I Mog It. The ability to move the ilvl number to other positions in the gear/item icon would be helpful. Thanks.

commented

It is good request.
@kemayo I see you add this to addon.lua in last build:

ns.PositionOffsets = {
    TOPLEFT = {2, -2},
    TOPRIGHT = {-2, -2},
    BOTTOMLEFT = {2, 2},
    BOTTOMRIGHT = {-2, 2},
}

But, i think, it isnt enough.
How about to add more:

ns.PositionOffsets = {
    TOPLEFT = {2, -2},
    TOPRIGHT = {-2, -2},
    BOTTOMLEFT = {2, 2},
    BOTTOMRIGHT = {-2, 2},
    BOTTOM = {0, 2},
    TOP = {0, -2},
    LEFT = {2, 0},
    RIGHT = {-2, 0},
    CENTER = {0, 0},
}

And this in config.lua:

for _,v in ipairs{"TOPLEFT", "TOPRIGHT", "BOTTOMLEFT", "BOTTOMRIGHT", "BOTTOM", "TOP", "LEFT", "RIGHT", "CENTER"} do

Instead of this:

for _,v in ipairs{"TOPLEFT", "TOPRIGHT", "BOTTOMLEFT", "BOTTOMRIGHT"} do

It would be mutch better players if can select ANY location for text and icon.

Imho: button.simpleilvl:SetPoint('BOTTOM', 0, 2) looks very nice.

commented

I'd say this is done for now. Major enhancement I could imagine would be customizing it by type-of-button, but that's more complexity in configuration than I want to take on right now so I'll wait to see if people actually ask for it.