# Resize Group with mouse or script code

**URL:** <https://forum.inductiveautomation.com/t/resize-group-with-mouse-or-script-code/6829>\
**Category:** Ignition\
**Created:** [July 8, 2013, 1:23pm UTC](https://forum.inductiveautomation.com/t/resize-group-with-mouse-or-script-code/6829 "2013-07-08T13:23:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![quper](https://avatars.discourse-cdn.com/v4/letter/q/aeb1de/32.png) [@quper](https://forum.inductiveautomation.com/u/quper)\
**Post date:** [July 8, 2013, 1:23pm UTC](https://forum.inductiveautomation.com/t/resize-group-with-mouse-or-script-code/6829/1 "2013-07-08T13:23:48Z")

</div>

Hello,  
When I resize Group object in Designer with mouse (dragging arrow at the edge of component), all components inside it resize accordingly.  
But when I resize same Group with mouseReleased event using system.gui.reshapeComponent or system.gui.resizeComponent, only Group size changes, not components inside.  
How can I get the same resize fnctionality for components with script code as I get when resizing component with mouse?

---

<div class="post-metadata">

**Author:** ![dave.fogle](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@dave.fogle](https://forum.inductiveautomation.com/u/dave.fogle)\
**Post date:** [November 22, 2013, 10:16pm UTC](https://forum.inductiveautomation.com/t/resize-group-with-mouse-or-script-code/6829/2 "2013-11-22T22:16:09Z")

</div>

This appears to be a bug and there is a ticket for it in our system. I'm not sure exactly when this issue will be resolved but I have added this forum post to the ticket so it will be updated when it is fixed.
