"resource/layout/chattitlepanel.layout"
{
	controls
	{
		 "AvatarImage" { ControlName="ImagePanel" }
     "NameLabel" { ControlName="Label" }
     "StatusLabel" { ControlName="Label" style="statuslabel" }
     "LockImage" { ControlName="ImagePanel" }
     "MenuButton" { ControlName= "CChatTitlePanelAffordance" style="menuButtonStyle"}
	}
	
	styles
	{
		menuButtonStyle
		{
			minimum-width=14
			padding-top=3
			padding-bottom=4
			padding-right=5
			padding-left=6
		}
		
		menuButtonStyle:hover
		{

			render_bg {
			
			//background
			0="fill( x0 + 5, y0 + 1 , x1 - 4, y1 - 2, buttonfaceactive )"
			//lines around
			1="fill(x0 + 4, y0 + 2, x0 + 5, y1 - 3, buttonfaceactive )"  //left
			2="fill(x1 - 4, y0 + 2, x1 - 3, y1 - 3, buttonfaceactive )"  //right
			}
		}
		
		statuslabel
		{
		font-size="14"
		textcolor="184 187 191 255"
		}
	
	}
	
	layout
	{
		place {	control="AvatarImage" x=2 y=7 align=left dir=right spacing=8 }
		place {	control="NameLabel,MenuButton" x=70 y=9 align=left dir=right spacing=0 }
		place {   control="LockImage" x=51 y=4 width=16}
		place {	control="StatusLabel" align=left x=50 y=33 }
	}
}
