Thread Tools Display Modes
11-18-18, 10:07 PM   #1
ajprax
A Kobold Labourer
Join Date: Nov 2018
Posts: 1
Question 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
  Reply With Quote
12-09-18, 05:06 PM   #2
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
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.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Variable position textures

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off