[v1.7.0+] Buffs Display Wrap

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2521
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

[v1.7.0+] Buffs Display Wrap

#1 Post by Zizzo »

The default layout of the Minimalist UI has the buffs display and the main toolbar in vertical orientation at the right edge of the window, and depending on how you've got your hotkeys toolbar positioned and sized, it might also extend to the right edge. The vertical stack of buffs or debuffs in the buffs display extends down to the bottom edge of the window — which means if you have a lot of buffs or debuffs (which can happen a lot more easily if you're using certain addons), said stack can end up overlapping and being drawn under the main toolbar or hotkeys toolbar. The Steam page image shows an example of this, captured directly from one of my recent characters.

I've taken a stab at fixing this (as you might expect :wink: ) with my new Buffs Display Wrap addon. We don't try to handle every permutation of UI components in this first pass; we don't support the horizontal orientation of the buffs display, for instance, and we don't check for overlap with any other UI components. This is just enough to fix the problem I was having in (roughly) the default layout. (I figure if you've made extensive changes to the layout, you've probably already arranged to avoid this overlap problem.)

[And I suppose this could go in to ZOmnibus or ZOmnibus Lite; I'm categorizing it as a bugfix addon for now, but I could be convinced otherwise.]

[Implementation notes:]

Code: Select all

Superload:
  mod.class.uiset.Minimalist:
    buffOrientStep() [to wrap the buff/debuff stack as needed]
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply