WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   oUF (Otravi Unit Frames) (https://www.wowinterface.com/forums/forumdisplay.php?f=87)
-   -   Variable position textures (https://www.wowinterface.com/forums/showthread.php?t=56852)

ajprax 11-18-18 10:07 PM

Variable position textures
 
Hi, I'm new to oUF and following along with the commit history here to get up to speed. My design calls for certain status indicators (rest, party leader, combat, etc) to display in a row in a priority order with no space given to absent icons. I've tried anchoring each indicator to the previous, but it seems like "hidden" indicators keep their width.

Is this kind of thing possible out of the box with oUF?

Thanks

Rainrider 12-09-18 05:06 PM

You can use one indicator's PostUpdate to re-anchor it and call ForceUpdate on the indicator that should be displayed after it, doing so for all in the chain. Use a shared anchor point and increase/decrease the x/y offset when an indicator changes state.


All times are GMT -6. The time now is 10:05 AM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2019 MMOUI