local M=import("\046\047\066\097\115\101\073\110\115\116\097\110\099\101")local q=import("\046\046\047\069\110\117\109\047\070\105\108\108\068\105\114\101\099\116\105\111\110")local A=import("\046\046\047\069\110\117\109\047\072\111\114\105\122\111\110\116\097\108\065\108\105\103\110\109\101\110\116")local F=import("\046\046\047\073\110\115\116\097\110\099\101\080\114\111\112\101\114\116\121")local I=import("\046\046\047\069\110\117\109\047\083\111\114\116\079\114\100\101\114")local V=import("\046\046\047\069\110\117\109\047\086\101\114\116\105\099\097\108\065\108\105\103\110\109\101\110\116")local G=import("\046\046\047\116\121\112\101\115\047\086\101\099\116\111\114\050")local X=M:extend("\085\073\071\114\105\100\083\116\121\108\101\076\097\121\111\117\116")X.properties.FillDirection=F.enum(q,{getDefault=function()return q.Horizontal end})X.properties.HorizontalAlignment=F.enum(A,{getDefault=function()return A.Center end})X.properties.SortOrder=F.enum(I,{getDefault=function()return I.Name end})X.properties.VerticalAlignment=F.enum(V,{getDefault=function()return V.Center end})X.properties.AbsoluteContentSize=F.readOnly({get=function(M)return G.new(0,0)end})return X
local BaseInstance = import("./BaseInstance")
local FillDirection = import("../Enum/FillDirection")
local HorizontalAlignment = import("../Enum/HorizontalAlignment")
local InstanceProperty = import("../InstanceProperty")
local SortOrder = import("../Enum/SortOrder")
local VerticalAlignment = import("../Enum/VerticalAlignment")
local Vector2 = import("../types/Vector2")

local UIGridStyleLayout = BaseInstance:extend("UIGridStyleLayout")

UIGridStyleLayout.properties.FillDirection = InstanceProperty.enum(FillDirection, {
	getDefault = function()
		return FillDirection.Horizontal
	end,
})

UIGridStyleLayout.properties.HorizontalAlignment = InstanceProperty.enum(HorizontalAlignment, {
	getDefault = function()
		return HorizontalAlignment.Center
	end,
})

UIGridStyleLayout.properties.SortOrder = InstanceProperty.enum(SortOrder, {
	getDefault = function()
		return SortOrder.Name
	end,
})

UIGridStyleLayout.properties.VerticalAlignment = InstanceProperty.enum(VerticalAlignment, {
	getDefault = function()
		return VerticalAlignment.Center
	end,
})

UIGridStyleLayout.properties.AbsoluteContentSize = InstanceProperty.readOnly({
	get = function(self)
		return Vector2.new(0, 0)
	end,
})

return UIGridStyleLayout