What UI Layout do I use?

Hello,

I’m trying to make Widgets for my module, kinda like you’d find on a phone. Only issue, is I’m not sure what UI Layout to use.
I tried UIGridLauout, which wont work because there are widgets of different size.
I also tried UIListLayout, but that will not work, because I cant stack horizontally if I’m making it also vertical.


I tried a UIPageLayout as well, but that leaves elements one by one.

I’m not sure what layout to use for this. It should be able to be moved around by scripts and the size can be changed/independent

Thank you

1 Like

Still need a bit of help on this, not sure.

Can you show the design of what it is supposed to look like if available?

Just to get a better image of what we’re looking at.

1 Like

I’m trying to make a widgets view, much like iOS or Windows. Windows 11 has a good example

Not sure you can do that with a single UI Layout, you would need to use containers and multiple UI layout which depends on how’d you want to approach it. the important is to use Containers to put other UI Layout inside of a UI Layout

Here’s an example that mimics the example you showed.

Widgets.rbxm (6.1 KB)

The left one should be what you’re looking for, if you want to move, just change the LayoutOrder then boom it’s moved somewhere else!

The right one is what you want if you’re looking for something that can be shaped more freely but can still be moved (vertically for each main container) at least.

You could probably try to experiment with combining different type UI Layout to get what you’re looking for.

Cheers.

1 Like

Thanks, I’ll have a look in the morning.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.