# Why can't I change the height/width of a button inside a group?

**URL:** https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081
**Category:** Issues / Bugs
**Tags:** properties
**Created:** [December 24, 2022, 9:26pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081 "2022-12-24T21:26:48Z")
**Posts on this page:** 11
**Page:** 1

<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: [December 24, 2022, 9:26pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/1 "2022-12-24T21:26:48Z")

</div>

In this screen capture video (no sound), you can see that I try to change the height and width of an image component in a DnD project and it keeps reverting back to the original dimensions.

[https://watch.screencastify.com/v/kUtvGMKeDsZjiyZA48Wn](https://watch.screencastify.com/v/kUtvGMKeDsZjiyZA48Wn)

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [December 28, 2022, 4:11pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/2 "2022-12-28T16:11:40Z")

</div>

Try changing its x,y properties after its height/width. 🤔

I’ve ran into the same issue in the past and recently.

---

<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: [December 28, 2022, 6:14pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/3 "2022-12-28T18:14:53Z")

</div>

Huh, yeah that does allow the change to stick. So if I change the height or width and then immediately change the x or y (even to the same value it was), that makes the height and width **not** revert.

Bug reported here: [Changing height or width of component does not stick · Issue #1224 · thunkable/thunkable-issues · GitHub](https://github.com/thunkable/thunkable-issues/issues/1224)

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [December 28, 2022, 6:50pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/4 "2022-12-28T18:50:13Z")

</div>

@tatiang Are you using layout in this project?

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [December 28, 2022, 7:06pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/5 "2022-12-28T19:06:03Z")

</div>

I can’t speak for @tatiang BUT it’s been around longer than layouts.

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [December 28, 2022, 7:29pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/6 "2022-12-28T19:29:24Z")

</div>

Some kind of container then? A group? I cannot replicate this issue with just two images on my screen, the sizing holds.

---

<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: [December 28, 2022, 8:28pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/7 "2022-12-28T20:28:49Z")

</div>

@conroy33 I was using layouts but I removed them because the height properties (Fit Contents and Fill Container) were causing components to be hidden during preview and testing.

So now the buttons are in a **group**.

I can reproduce the issue with “button4” on the first screen of this project: [Thunkable](https://x.thunkable.com/copy/60f77f65976ff233355ca4161931c6d9)

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [December 28, 2022, 8:41pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/8 "2022-12-28T20:41:44Z")

</div>

Thanks, @tatiang. Definitely related to being inside that group somehow. You can adjust the size by moving it out and then back in.

Nevertheless, I will see _why_ this happens inside the group and if it’s intentional.

---

<div class="post-metadata">

### Author: ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)
#### Post date: [December 29, 2022, 2:46pm UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/10 "2022-12-29T14:46:52Z")

</div>

@tatiang I did get confirmation that this should not be happening and so we’ve reported it to engineering to get it fixed.

Temporarily, the workaround for this is to just move the image out of the group, resize, and then move it back in.

I’ll keep you updated as I hear more about this.

---

<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: [January 10, 2023, 4:32am UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/11 "2023-01-10T04:32:10Z")

</div>

I discovered a simpler workaround:

Enter the new value and then double-click Layout:

![Screen Shot 2023-01-09 at 8.29.58 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/1/6121bab74c62d03f473c1d29fe7ad44951472977.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [April 10, 2023, 4:32am UTC](https://community.thunkable.com/t/why-cant-i-change-the-height-width-of-a-button-inside-a-group/2191081/12 "2023-04-10T04:32:31Z")

</div>

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