<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
	<Script file="Grids.lua"></Script>
	
	<Frame parentKey="Grids" hidden="true">
		<Size x="615" y="306" />
		<Frames>
			<ScrollFrame parentKey="ScrollFrame" inherits="AddonFactory_BaseScrollFrameTemplate">
				<Scripts>
					<OnVerticalScroll>
						local parent = self:GetParent()
						self:OnVerticalScroll(offset, 38, function() parent:Update() end)					
					</OnVerticalScroll>
				</Scripts>
				<KeyValues>
					<KeyValue key="numRows" value="17" type="number" />
					<KeyValue key="rowHeight" value="38" type="number" />
					<KeyValue key="rowTemplate" value="AltoGridsRowTemplate" />
					<KeyValue key="xOffset" value="0" type="number" />
					<KeyValue key="yOffset" value="0" type="number" />
				</KeyValues>
			</ScrollFrame>
		</Frames>
		<Scripts>
			<OnLoad>
				Altoholic:BindViewToController(self, "AltoholicUI.TabGrids.Grids")
			</OnLoad>
			<OnShow>
				self:CheckForResize()
			</OnShow>
		</Scripts>
	</Frame>
</Ui>
