Thread Tools Display Modes
11-22-10, 01:33 PM   #1
Deadmau5
A Murloc Raider
 
Deadmau5's Avatar
Join Date: Jul 2010
Posts: 9
[Pitbull] Parent Units to KGPanel

Hello

This is my first time messing around with KG Panels and i was wondering if its possible to Parent a Pitbull Unit to a KG panel, I know u can do it the other way around.

I'm using Pitbull 4 and i cant find the option to Parent a unit to other frame like in KG Panels ( Parent Frame, Anchor Frame)

Thanks in advance.
  Reply With Quote
11-22-10, 02:10 PM   #2
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
That's because there isn't one. It's a Unit Frame addon. not an addon to add panels to your UI.

The best you can do in PB4 is use the "sticky frame" thing. I don't think that's what it's called, but I'm not in-game right now. It's the middle option on the "Lock Frames" drop down menu on the top of the PB4 configuration window.
  Reply With Quote
11-22-10, 04:46 PM   #3
Deadmau5
A Murloc Raider
 
Deadmau5's Avatar
Join Date: Jul 2010
Posts: 9
Here is a video i made to explain what im looking for.

http://www.youtube.com/watch?v=5SEVFEj6ghY

Basically move the Pitbull Frame depending on the Raid size, to eliminate the empty gap between the grid and Target Frame if im in a a group with less than 40 people.


is there a way to make a macro with a script to move a Pitbull Frame?
Code:
ie: if GetNumRaidMembers() > 15 and GetNumRaidMembers() <= 10 then
PitBull4_Frames_target:MoveTo(-1.40, -31.02) end

So that i can make a button and u can choose the size depending n the BG or raid size.

Any thoughts that can help are welcomed.

Last edited by Deadmau5 : 11-22-10 at 05:30 PM.
  Reply With Quote
11-22-10, 05:54 PM   #4
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 258
Why don't you just parent the panel to the grid frame?

GridLayoutFrame is the name of the background frame for grid. I've used it in a few of my layouts to size a panel to grid. It resizes when grid does.
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
  Reply With Quote
11-22-10, 05:58 PM   #5
Deadmau5
A Murloc Raider
 
Deadmau5's Avatar
Join Date: Jul 2010
Posts: 9
Thats what i did, i Parent the kgpanel with GridLayoutFrame and the panels move the way i want, but the Pitbull Frame does not move cause i cant find the option/way to parent the Pitbull frame to the KGPanel frame

I dont know if that makes sence.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » [Pitbull] Parent Units to KGPanel


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