View Single Post
06-25-10, 03:53 PM   #230
Canities
A Wyrmkin Dreamwalker
Join Date: Oct 2007
Posts: 54
Originally Posted by haylie View Post
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.
Thanks for the reply haylie,
Only issue i have with that solution is the panel sits at the bottom of the chat frame and not 10pix below. I forgot to mention that i have another bar anchored to the bottom of the chat panel (see images below). Ended up opting for this solution:
Code:
	{ name = "Bar10", --Gen Chat Frame
		parent = "UIParent", anchor_frame = "ChatFrame1", 
		anchor_to = "BOTTOMLEFT", anchor_from = "BOTTOMLEFT", y_off = -10, x_off = -5,
		width = 350, height = "100%",
		gradient = "H", 
		bg_color = {0,0,0}, bg_alpha = 0.5,
		gradient_color = {0,0,0}, gradient_alpha = 0,
	},
	{ name = "BorderBottom", parent = "Bar10",
		anchor_to = "BOTTOM", 
		width = "100%", height = 1,
		bg_color = {0,0,0}, bg_alpha = 0.75,
	},
	{ name = "Bar11", --Gen Chat Tab
		parent = "Bar10", anchor_frame = "Bar10", 
		anchor_to = "BOTTOMLEFT", anchor_from = "TOPLEFT", y_off = 0, x_off = 0,
		width = 350, height = 35,
		gradient = "H", 
		bg_color = {0,0,0}, bg_alpha = 0.5,
		gradient_color = {0,0,0}, gradient_alpha = 0,
	},
	{ name = "BorderTop", parent = "Bar11",
		anchor_to = "TOP", 
		width = "100%", height = 1,
		bg_color = {0,0,0}, bg_alpha = 0.75,
	},
Works a treat with Chicchai and changes size respectivly.
Minimised:Maximised:

Cani
  Reply With Quote