It gets tricky if areas have more than one connection
It gets tricky if areas have more than one connection
myContainer = myContainer or Adjustable.Container:new({name = "myContainer", width = 100, height = 100})
function myContainer:toggleFixedSize()
if not self.FixedSize then
self.connectedToBorder = {}
self.connectedToBorder.bottom = true
self.connectedToBorder.left = true
self.connectedToBorder.top = true
self.connectedToBorder.right = true
self:setAbsolute(true)
self.FixedSize = true
else
self.connectedToBorder = {}
self.FixedSize = false
end
end