Improving UI Design with Repeating Groups in Bubble
In this Bubble tutorial video, I'm going to be demonstrating how you can improve the UI design of a repeating group that you're using as a table element in Bubble. The tip I'm going to show you is how to add in a nice, uniformed gap in between each row in your table.
Setting Up the Repeating Group
I've got my repeating group here, and it's set up to show a list of my contacts. It may be tempting to group all your elements and put them in a group and then use padding and margin. In fact, let's try that and I'll show you what we get.
Adding Padding and Margin
If I put them into a group and then let's add in some padding and preview that. Okay. So that has worked, but you can also... Well, because it's a temptation, a temptation might be to add in margin here. Let's say add in 32 pixels to make it nice and big. But then the issue is that I also get 32 pixels added to the bottom of my final cell. It's not really a gap. It's a margin.
Using the Separator for a Better Solution
So instead of adding 32, you can do this trick, which is use the separator. So I'm going to increase the separator up to 24, but then I notice, of course, that the separator has a color to it. If I preview that. Okay. Yeah, great, but not so great.
Making the Separator Invisible
All I need to do is make the separator opacity zero and then I get my nice neat gap in between each element. And it is truly then a gap from the HTML and the CSS level.
Conclusion
So there you have it. That is a quick UI tip for building tables in Bubble. Do subscribe because I'm going to be recording two more videos about tables right away.
Invitation to Explore More Content
Hey guys. If you're finding these YouTube tutorials helpful, we invite you to explore even more content on our website at planningnoecode.com. We have a large selection and variety of super in-depth and detailed video lessons there created and curated just for our pain members. It's all about learning together and accelerating your no-code journey. Check us out at www.planningnoecode.com and let's continue building without limits.