Created
October 6, 2014 15:59
-
-
Save nefftd/08bfcc35796ec47713cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local top = math.max(f1:GetTop(),f2:GetTop()) | |
local bottom = math.min(f1:GetBottom(),f2:GetBottom()) | |
local left = math.min(f1:GetLeft(),f2:GetLeft()) | |
local right = math.max(f1:GetRight(),f2:GetRight()) | |
local w,h = UIParent:GetWidth(),UIParent:GetHeight() | |
f3:ClearAllPoints() | |
f3:SetPoint('TOPLEFT',UIParent,'TOPLEFT',h-top,left) | |
f3:SetPoint('BOTTOMRIGHT',UIParent,'BOTTOMRIGHT',bottom,w-right) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment