PageLayout
Create UIPageLayout based layout. It is basically creating a Frame, with a UIPageLayout and given childrens inside.
Example
e:RunApp({
Name = script.Parent.Parent.Name,
Home = e.PageLayout({
Name = "Mypagelayout",
Circular = true,
Children = {
e.Container({
BackgroundColor3 = Color3.fromRGB(0, 170, 127),
}),
e.Container({
BackgroundColor3 = Color3.fromRGB(255, 85, 0),
})
}
})
})
--changing pages each 5 seconds
while true do
wait(5)
e.Context.GetElementByName("Mypagelayout").UIPageLayout:Next()
end
Last updated
Was this helpful?