function init(a)local y=a.Frame.Label local e=a.Frame.CheckContainer local g=a.Button.Checkmark local function s()local g=a.Frame.AbsoluteSize local s=g.y/g.x e.Size=UDim2.new(s,0,1,0)y.Size=UDim2.new(1-s,-10,1,0)y.Position=UDim2.new(s,10,0,0)end s()a._Maid:Mark((a.Frame:GetPropertyChangedSignal("\065\098\115\111\108\117\116\101\083\105\122\101")):Connect(s))a._Maid:Mark(a.Button.Activated:Connect(function()a:SetValue(not g.Visible)end))end


function init(self)
	local label = self.Frame.Label
	local container = self.Frame.CheckContainer
	local checkmark = self.Button.Checkmark
	
	local function contentSizeUpdate()
		local absSize = self.Frame.AbsoluteSize
		local ratio = absSize.y / absSize.x
		container.Size = UDim2.new(ratio, 0, 1, 0)
		label.Size = UDim2.new(1 - ratio, -10, 1, 0)
		label.Position = UDim2.new(ratio, 10, 0, 0)
	end
	
	contentSizeUpdate()
	self._Maid:Mark(self.Frame:GetPropertyChangedSignal("AbsoluteSize"):Connect(contentSizeUpdate))
	
	self._Maid:Mark(self.Button.Activated:Connect(function()
		self:SetValue(not checkmark.Visible)
	end))
end
