Quantcast
WoWInterface - View Single Post - Snapping Frames vertically horizontally
View Single Post
05-11-21, 09:08 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,641
It sounds like you are talking about what we have as anchoring functionality. You anchor the "TOP" of a frame to the "BOTTOM" of another frame to get them connected vertically. Similarly "LEFT" to "RIGHT" for horizontal connections. "CENTER" to "CENTER" will anchor the center of frame1 to the center of frame2.

https://wowpedia.fandom.com/wiki/Anchors
https://wowpedia.fandom.com/wiki/API_Region_SetPoint

Hopefully those above will help you see whats possible.

Also, https://www.townlong-yak.com/framexml/live has the latest Blizzard code you can look at to see how some of the frames do it that you want to emulate.

But, based on your addon list I suspect it is more than what can be done via this that you are talking about. Maybe a visual example or a more verbal example of what you are looking for. But, you should be able to use a multiple of simple connections but you will need to have some sort of hierarchy to the frames for it to work well together.
__________________

Last edited by Xrystal : 05-11-21 at 09:10 PM.
  Reply With Quote