UI Layouts (UI Grids, Lists, Pages) - Roblox GUI Tutorial #13 (2025) — Transcript
Full transcript
- 0:00Welcome back to my Roblox GUI tutorial
- 0:02series. My name is Balv and in this
- 0:04episode we'll be discussing about UI
- 0:06layouts with things like list layouts,
- 0:09grid layouts, page layouts, and things
- 0:11like that. So I want you to imagine that
- 0:14we're creating an inventory system. And
- 0:16we want to be able to display all the
- 0:18items in our inventory to show on one
- 0:22single frame. And the way that we would
- 0:24need to do that is to display each and
- 0:27every one of them onto the frame so that
- 0:30they have their own space within that
- 0:33frame. And to show you an example of
- 0:34what I'm talking about, what we're going
- 0:36to do is go to starter GUI, hit the plus
- 0:38sign, and we're going to insert a screen
- 0:40GUI. Next thing I'm going to do is
- 0:42insert a frame inside of the screen GUI.
- 0:45I'm just going to scale it up like this
- 0:48and move it into the center just like
- 0:50so. And inside the frame, I'm going to
- 0:52insert a text button. So with this text
- 0:55button, I'm just going to change the
- 0:56color of this to something like green.
- 0:59And typically the way that we would
- 1:01display items within a frame is we would
- 1:03simply just take the item and we would
- 1:06duplicate it and then move it inside of
- 1:08studio just like this so that we have
- 1:11multiple items that are displayed. But
- 1:14there are some problems with doing it
- 1:16like this. For one thing, we would need
- 1:18to manually calculate where the exact
- 1:22position would be for each item so that
- 1:25the items are not misplaced just like
- 1:28this. But another thing is we also
- 1:30wouldn't be able to do this while the
- 1:32game is running as well because this is
- 1:34something we can only do while we're
- 1:35inside of Studio. So, how do we fix
- 1:37this? We can use what are called UI
- 1:40layouts to basically do the work for us.
- 1:42And I'm going to show you a few examples
- 1:44of this. The first thing I'm going to
- 1:46show you is called a UI grid layout. So,
- 1:49what I'm going to do is delete all these
- 1:51text buttons except one. And inside the
- 1:53frame, we're going to hit the plus sign
- 1:55and we're going to insert a UI grid
- 1:59layout that looks like this. So, if we
- 2:00hit enter, then what's going to happen
- 2:03is we're going to have this button here.
- 2:05And if we duplicate this button, what's
- 2:07going to happen is Roblox is
- 2:09automatically going to place the second
- 2:10button next to the first one. And if we
- 2:13keep doing this, then Roblox is just
- 2:15going to continuously add more and more
- 2:17buttons in this row by column structure.
- 2:20So we start from the top left and then
- 2:22it just keeps going right until it
- 2:24reaches the other side of the page. So
- 2:26then it just continues down here and the
- 2:28process just repeats itself. And there
- 2:30are a lot of ways that we can customize
- 2:33this as well using our grid layouts. So
- 2:35inside of our UI grid layout, what we
- 2:37can do is change things like the
- 2:39padding. So how much space is in between
- 2:42each item? So we can change the scale to
- 2:45let's say 0.1 and 0.1. So it looks
- 2:48something like this. We can even change
- 2:50things like where we want the direction
- 2:52to be filled. So by default it's
- 2:54horizontal, but we can change this to
- 2:56vertical so that it starts upward then
- 2:59it goes down and then it just keeps on
- 3:01going like this. We can even do things
- 3:02like setting where it starts. So instead
- 3:05of top left, we can do something like
- 3:07top right where it goes from right to
- 3:09left instead of left to right. And I
- 3:11think you get the idea from here. So
- 3:14those are some things we can change with
- 3:15the UI grid layout. But rather than just
- 3:17using grid layouts, we can even use
- 3:19things like list layouts. So I'm just
- 3:22going to create a folder really quickly
- 3:24so that we can place the UI grid layout
- 3:26inside of there. And inside of our
- 3:28frame, what we're going to do is insert
- 3:30a UI list layout just like this. So now
- 3:34the buttons are displayed as a list and
- 3:37we can change things like the padding.
- 3:39So this is going to be the scale. We can
- 3:41change this to let's say 0.05. So now
- 3:44there's a little bit of space in between
- 3:47each button. Now you might have noticed
- 3:49that these buttons can appear off the
- 3:51frame just like this if you have so many
- 3:54buttons inside of one frame. And one
- 3:56thing we can do is set this property
- 3:58called wraps. So what it does is if it
- 4:01goes off frame then it's just going to
- 4:02continue on the right side and go down
- 4:04the list just like normal. So those are
- 4:06some properties we can change. There are
- 4:08other things like the fill direction. So
- 4:10instead of going vertically we can fill
- 4:12it horizontally by going from left to
- 4:14right, left to right, left to right just
- 4:16like that. And we can even change things
- 4:18like the way things are aligned as well.
- 4:20So we have things like horizontal
- 4:22alignment. So instead of starting from
- 4:23the left, we start in the center or even
- 4:25the right side. We can change things
- 4:27like the horizontal flex, which
- 4:29basically says how do we want each of
- 4:32the items to be separated from each
- 4:35other. In what style do we want it to be
- 4:37separated? So, we can do things like
- 4:39fill so that it fills up the buttons all
- 4:42the way before it moves on to uh going
- 4:45further down. We can even do things like
- 4:47space around, space between, space
- 4:50evenly. And you can just mess around
- 4:52with all these settings. There's a lot
- 4:53of things you can work with here. And
- 4:54you can pretty much do the same thing
- 4:56with vertical alignment as well. And
- 4:58those are just some things that we can
- 5:00do to make our items be displayed onto a
- 5:04frame. And finally, uh, one more thing
- 5:07that I want to show is called a UI page
- 5:10layout. I'm going to move this UI list
- 5:11layout inside the folder. And inside of
- 5:13this frame, I'm going to hit the plus
- 5:14sign and insert a UI page layout. And
- 5:18basically what UIP page layout is is
- 5:20it's a it's a type of layout that
- 5:23basically displays items onto a frame,
- 5:27but it's going to be separated by an
- 5:30individual page. So it's kind of like an
- 5:32individual frame within a frame. So what
- 5:34I mean is I want you to imagine that
- 5:36this is like a an iPhone or like a
- 5:38mobile device where you can swipe right
- 5:42to then move on to the next page. We're
- 5:44now on page two and we can swipe right
- 5:46to move on to page three and then page
- 5:48four and so on and so forth. Um, it
- 5:50basically takes all the items, in this
- 5:52case, all these text buttons and
- 5:54separates them as their own pages and we
- 5:56can flip between those pages. So, that's
- 5:58basically what that does. And we can
- 6:00make some pretty cool stuff out of this
- 6:01as well, which I'm going to show you in
- 6:03just a little bit. Um, but we can do
- 6:05things like change the way that the
- 6:07swiping is animated with easing
- 6:09direction and easing style. We can even
- 6:11change things like the padding in
- 6:13between each page as well. And we can
- 6:16also change things like the way that it
- 6:18is inputed as well. And from here, what
- 6:21we can do is show you how we can combine
- 6:25UI page layouts and UI grid layout to
- 6:28create like a home screen. So, what I'm
- 6:30going to do is I'm going to insert a
- 6:32another frame here. Uh I'm just going to
- 6:34change the color of this frame to be
- 6:36like uh I don't know, some sort of blue.
- 6:39And I'm going to change the size of this
- 6:41to one zero one zero. Just like this.
- 6:45And I'm just going to take a bunch of
- 6:46these buttons and put it inside of the
- 6:48frame just like this. And I think I'm
- 6:51actually going to delete the rest of
- 6:53these text buttons as well. And now
- 6:55inside of this frame, what I'm going to
- 6:57do is insert a UI grid layout just like
- 7:00this. So now what we have here is a
- 7:04frame that contains these text buttons
- 7:07that have a grid layout that displays it
- 7:09like this. And with this page layout,
- 7:12this page layout is used for each one of
- 7:15these frames. So if I duplicate this
- 7:17frame, then what's going to happen is
- 7:19there's going to be a second page that's
- 7:21going to be for these buttons, while
- 7:24this first page has these buttons for
- 7:27the first page. So, just like I said
- 7:30before, we can change the padding a
- 7:31little bit. So, we can say like 0.05.
- 7:34So, it really feels like we're swiping
- 7:36through like a home screen. To display
- 7:39this even further outward, uh, I'm just
- 7:40going to make this like 0.5 so we don't
- 7:42see it at all. So, if we swipe right,
- 7:44then it's going to swipe the page to go
- 7:47to the next page. And there are some
- 7:49methods in Roblox's documentation that
- 7:51essentially allows us to move to the
- 7:53next page or to the previous page or to
- 7:55a specific page if we want. But this is
- 7:57basically how we use UIP page layout in
- 8:00combination with UI grid layout. And we
- 8:02can even do the same thing with UI list
- 8:03layout as well. There are more layouts
- 8:06that you can use for your GUIs which
- 8:08I'll leave a link to the documentation
- 8:09in the description. Uh but I hope that
- 8:11this gives you a good introduction to
- 8:14using UI layouts inside of your game.
- 8:17And I hope you learned something from
- 8:18this video. So for today's learning
- 8:19objective, I want you to recreate this
- 8:21panel right here that utilizes different
- 8:23types of frames and different types of
- 8:26UI layouts as well. So from what you saw
- 8:29here, this is the first page that
- 8:31contains all of these different types of
- 8:33frames and layouts. And we can even flip
- 8:36through different pages that can lead to
- 8:39completely different looking frames. So
- 8:41I want you to be able to recreate this.
- 8:43And once you think that you've uh
- 8:45achieved a similar frame to this one,
- 8:48then I think you're definitely ready to
- 8:50tackle on more complicated GUI systems
- 8:54cuz a lot of them definitely utilize UI
- 8:56layouts. And if you can understand how
- 8:58to implement them inside of your UI,
- 9:00then I think you'll definitely have a
- 9:02better time implementing the more
- 9:03complicated stuff. I would also like to
- 9:06give a shout out to my Patreon members.
- 9:07I really appreciate their support
- 9:09because it encourages me to continue
- 9:11making these videos for you guys. And if
- 9:13you want to get access to my scripts, uh
- 9:15early access to my videos and other
- 9:17benefits like that, then I will leave a
- 9:18link to my Patreon page in the
- 9:20description for you to check out. So,
- 9:22that's pretty much going to be it for
- 9:23today's video on UI layouts. I hope you
- 9:25enjoy this episode and I will see you in
- 9:28the next one.
- 9:30Take care.
About this transcript
This page contains the full transcript of UI Layouts (UI Grids, Lists, Pages) - Roblox GUI Tutorial #13 (2025) by BrawlDev, generated from the public captions YouTube serves with the video. The transcript has 1,924 words across 253 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.