View Single Post
06-25-10, 01:10 PM   #228
haylie
A Scalebane Royal Guard
 
haylie's Avatar
Join Date: May 2009
Posts: 417
Originally Posted by Canities View Post
Hiya Katae,
Loving both LitePanels and LiteStats.
I do however have a query about making a panel that changes size with the chat frame. I'm using chicchai to change the height of the chat frame so i need to be able to do some math on the height, for example i need it to be 100% of the frame height + 35 for the chat tabs.
You need to set the parent to ChatFrame1, the height to "100%" (this will change your panel's height to always match the height of the thing you're parenting to, in this case the ChatFrame1). Then for the chat tabs, set the y offset of the panel to 35.

Code:
parent = "ChatFrame1",
height = "100%",
y_off = 35,
  Reply With Quote