# Layout gives too much space around

**URL:** <https://community.thunkable.com/t/layout-gives-too-much-space-around/2431595>\
**Category:** Issues / Bugs\
**Created:** [May 23, 2023, 8:16am UTC](https://community.thunkable.com/t/layout-gives-too-much-space-around/2431595 "2023-05-23T08:16:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 25, 2023, 3:09am UTC](https://community.thunkable.com/t/layout-gives-too-much-space-around/2431595/2 "2023-05-25T03:09:34Z")

</div>

I tend to use margins and padding for this instead of the “ready made” settings like “space around.”

Just be aware there’s a bug related to using padding in Containers:

> [@Component padding inside container acts as margin](https://community.thunkable.com/t/component-padding-inside-container-acts-as-margin/2429474):
>
> If I add a label or text input to a container (in a Layout) and set the label or text input’s padding value, Thunkable treats it like a margin rather than padding: The 15 pixel top Padding should not act similar to the 15 pixel left Margin. Instead, the letter “L” in “Label” should be 15 pixels to the right of the label’s left border. In the screenshot, it’s 0 pixels to the right of it. Here’s a project that demonstrates this: [Thunkable](https://x.thunkable.com/copy/3425dd14c68416f4d0630f8c7d75f5ae) I also submitted a bug report for this: [Compon…](https://github.com/thunkable/thunkable-issues/issues/1268)

---

_[View the full topic](https://community.thunkable.com/t/layout-gives-too-much-space-around/2431595)._
