# Vision Button doesn't re-gen bounds colour when Border Painted toggled

**URL:** <https://forum.inductiveautomation.com/t/vision-button-doesnt-re-gen-bounds-colour-when-border-painted-toggled/29666>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [November 5, 2019, 6:28am UTC](https://forum.inductiveautomation.com/t/vision-button-doesnt-re-gen-bounds-colour-when-border-painted-toggled/29666 "2019-11-05T06:28:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 5, 2019, 6:28am UTC](https://forum.inductiveautomation.com/t/vision-button-doesnt-re-gen-bounds-colour-when-border-painted-toggled/29666/1 "2019-11-05T06:28:40Z")

</div>

When you drag a button onto a Window, the border seems to paint the colour of the background that it is first placed onto so that the anti-aliasing smoothly transitions to the background colour (due to the button effect being a raster effect rather than vector I presume).

I’ve noticed that this colour isn’t re-applied properly after turning the `Border Painted?` property off and back on again, see screenshot - Cancel button border is “white”, compared with the Accept button:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/42f005207a7ee2f452fbf15265bb49c8108d139d.png)

Is there any way to get this to re-apply, aside from dragging on a new button? This would also help when moving the button onto another background colour as well.  
The same equally applies to the other raster effects (field border as one other example)
