local P=import("\046\047\066\097\115\101\073\110\115\116\097\110\099\101")local F=import("\046\046\047\069\110\117\109\047\070\105\108\108\068\105\114\101\099\116\105\111\110")local d=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 K=import("\046\046\047\073\110\115\116\097\110\099\101\080\114\111\112\101\114\116\121")local f=import("\046\046\047\069\110\117\109\047\083\111\114\116\079\114\100\101\114")local Q=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 w=import("\046\046\047\116\121\112\101\115\047\086\101\099\116\111\114\050")local e=P:extend("\085\073\071\114\105\100\083\116\121\108\101\076\097\121\111\117\116")e.properties.FillDirection=K.enum(F,{getDefault=function()return F.Horizontal end})e.properties.HorizontalAlignment=K.enum(d,{getDefault=function()return d.Center end})e.properties.SortOrder=K.enum(f,{getDefault=function()return f.Name end})e.properties.VerticalAlignment=K.enum(Q,{getDefault=function()return Q.Center end})e.properties.AbsoluteContentSize=K.readOnly({get=function(P)return w.new(0,0)end})return e
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