Issues with DIconLayout and Panel:Add

Hi I was wondering how to get the position of a panel added to a DIconLayout with Panel:Add. When I get the position of it it returns 0,0. I think this is due to it being merged with the DIconLayout panel, although I was wondering if there was a way to return it’s individual position.

-snip-
Im Dumb I guess.

When you add a panel, it becomes a child of the panel you added it to, everything position wise is then based off of the parent panel. Not sure what you mean by returning it’s individual position.

You can try using http://wiki.garrysmod.com/page/Panel/GetChildPosition

[editline]25th July 2017[/editline]

Might wanna call http://wiki.garrysmod.com/page/Panel/InvalidateLayout ( true ) before that tho