Thread Tools Display Modes
07-31-16, 03:07 AM   #1
Venkx
A Defias Bandit
Join Date: Sep 2012
Posts: 2
KgPanels + Grid2 - Only load panel while grouped

Hi, I have a little problem with the parenting of the grid frame
If I only set "Grid2LayoutFrame" as Parent, it will be loaded all the time, I guess it's because of the anchor?
For solo-play I chose "none", because i don't need Grid for questing, I have my Unitframes for that.

Now, I searched google and found the following code for "on load"
Code:
self:ClearAllPoints()
self:SetPoint("TOPLEFT", Grid2LayoutFrame, "TOPLEFT", -2, -9)
self:SetPoint("BOTTOMRIGHT", Grid2LayoutFrame, "BOTTOMRIGHT", 2, -2)
This is even better than what I had in mind, but then, during soloplay it looks like this:


Does anyone know of a way to avoid this? I only want the panel to show when I'm in a group, because I only need grid when I'm in a group.
  Reply With Quote
07-31-16, 03:14 AM   #2
Venkx
A Defias Bandit
Join Date: Sep 2012
Posts: 2
oh my god, I'm so stupid, please delete this post, or close or whatever.
I forgot to set the grid option for show frame to "grouped" after testing layouts with "always"
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » KgPanels + Grid2 - Only load panel while grouped


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