Thread Tools Display Modes
10-18-14, 12:37 PM   #1
Irongunner
A Deviate Faerie Dragon
Join Date: Mar 2011
Posts: 11
Strange behaviour with upwards growing party frames

Hi,

I am experiencing a very odd behaviour with my party frames.

They are created by the following code:

Code:
local party = oUF:SpawnHeader(
"oUF_Party",
"SecurePartyHeaderTemplate",
"custom [group:party,nogroup:raid][@raid6,noexists,group:raid] show;hide",
"showPlayer", true,
"oUF-initialConfigFunction", (initconfig):format(69, 22),
"sortMethod", "NAME",
"yOffset", -5
)
party:SetPoint("TOPLEFT", UIParent, "CENTER", -952, -20)
As you can see the frames should be located at the bottom left of my screen.
Currently, I set yOffset to -5 which makes them grow downwards.
When I change this value to 50 (to make them grow upwards), the frame suddenly appears in the center of the screen.

I tried some other values and realized, that everything >= 30 causes this positioning issue.

See the following screenshots:

https://dl.dropboxusercontent.com/u/.../yOffset-5.jpg
https://dl.dropboxusercontent.com/u/...yOffset+29.jpg
https://dl.dropboxusercontent.com/u/...yOffset+30.jpg
https://dl.dropboxusercontent.com/u/...yOffset+50.jpg

Has anyone else experienced similar issues?
Could you try the same in your layouts and see if it is reproducible there (maybe with other values)?

In addition I noticed that "SecureRaidGroupHeaderTemplate" does not seem to work for my raid frames anymore. I don't get any context menus when right-clicking raid members. Is this a known issue?

- Iron

Last edited by Irongunner : 10-18-14 at 12:42 PM.
  Reply With Quote
10-18-14, 02:44 PM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by Irongunner View Post
In addition I noticed that "SecureRaidGroupHeaderTemplate" does not seem to work for my raid frames anymore. I don't get any context menus when right-clicking raid members. Is this a known issue?
It should work, I can't say for sure as I don't pass a template so it defaults to SecureGroupHeaderTemplate, and it definitely works for that one.
  Reply With Quote
10-22-14, 10:39 AM   #3
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
Don't know why this happens but you could try setting the "sortDir" attribute to "DESC" on the party header.
  Reply With Quote
10-22-14, 03:31 PM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
It will sort them the other way around, but it doesn't help the issues he has.

Try the point attribute, it defaults to TOP (so it works with downward expanding headers). Set it to BOTTOM instead.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Strange behaviour with upwards growing party frames


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