Revamp UI using Kenney UI assets

This commit is contained in:
Lucien Greathouse
2019-01-11 14:10:02 -08:00
parent 5ad830a6d7
commit d81eaa6c13
10 changed files with 270 additions and 89 deletions

View File

@@ -11,6 +11,7 @@ function FitList:init()
end
function FitList:render()
local containerKind = self.props.containerKind or "Frame"
local containerProps = self.props.containerProps
local layoutProps = self.props.layoutProps
local paddingProps = self.props.paddingProps
@@ -43,7 +44,7 @@ function FitList:render()
Size = self.sizeBinding,
})
return e("Frame", fullContainerProps, children)
return e(containerKind, fullContainerProps, children)
end
return FitList