# Snap to grid not working properly when resizing

**URL:** <https://forum.inductiveautomation.com/t/snap-to-grid-not-working-properly-when-resizing/5362>\
**Category:** Ignition\
**Created:** [October 31, 2012, 12:21pm UTC](https://forum.inductiveautomation.com/t/snap-to-grid-not-working-properly-when-resizing/5362 "2012-10-31T12:21:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [October 31, 2012, 12:21pm UTC](https://forum.inductiveautomation.com/t/snap-to-grid-not-working-properly-when-resizing/5362/1 "2012-10-31T12:21:33Z")

</div>

Ignition 7.5.2  
Java 1.6.26  
Ubuntu 12.04

When I draw an object on screen with snap to grid on, it draws perfectly with its width and height in multiples of 5 or 10 as required. However, when I resize the component its width or height is sometimes 1 higher than the next grid increment e.g. if I reduce the size of an item with width 150 and a grid size of 5, it often jumps to 146 instead of 145.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [October 31, 2012, 3:21pm UTC](https://forum.inductiveautomation.com/t/snap-to-grid-not-working-properly-when-resizing/5362/2 "2012-10-31T15:21:06Z")

</div>

I have reproduced this here and have put a ticket in to have this feature fixed.
