Check those two screenshots.
http://imgur.com/a/fME3Y
Here are the setpoints for each container:
https://github.com/zorker/rothui/blo...g/raid.lua#L18
The setpoints work fine. The problem is sth with the raid group header.
Here is the secure group header setup.
Raid header config:
https://github.com/zorker/rothui/blo...g/raid.lua#L54
Raid spawn:
https://github.com/zorker/rothui/blo.../spawn.lua#L95
For whatever reason there is space added at the top of the container for each unit entering the group. Means the offset gets bigger and bigger.
Have you any idea what may cause this?
To be clear. I tried to get the containers as close together as possible but I couldn't get it to work because something is adding an offset to the raid header. This seems to affect width and height. The header is wider as it should be.
Here is a thing. I use a backdrop frame that is behind the unit frame for the shadow. It has to be offset a little bit to make the shadow look right. Do you think that is an issue?
*edit*
The issue affects party aswell.
*edit*
From my understanding the error has to come from this part here:
https://github.com/tomrus88/Blizzard...aders.lua#L234
Hmm. Maybe it is a scaling issue? From what I can tell the calculation of the size seems correct.
Seems like the button size is off by the scaling I am using. Will try with scale of 1 later.
Means. My buttons have a height of 26 and and offset of 5. This should result in a frame height of 150. But the actual frame height is 179. Diff of 0.839.
Interesting enough when only having 4 buttons the frame height should result in 119. But the actual frame height is 142. Diff of 0.839.
Means the difference is constant. Thus I assume that
--unitbutton
local unitButton = self:GetAttribute("child1");
local unitButtonWidth = unitButton:GetWidth();
local unitButtonHeight = unitButton:GetHeight();
|
deliver a width/height unaffected by scale resulting in the wierd behaviour.
Will try uiscale first. Button scale thereafter.