# borderPainted property

**URL:** <https://forum.inductiveautomation.com/t/borderpainted-property/65232>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [October 14, 2022, 2:43pm UTC](https://forum.inductiveautomation.com/t/borderpainted-property/65232 "2022-10-14T14:43:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yvain17](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yvain17](https://forum.inductiveautomation.com/u/Yvain17)\
**Post date:** [October 14, 2022, 2:43pm UTC](https://forum.inductiveautomation.com/t/borderpainted-property/65232/1 "2022-10-14T14:43:06Z")

</div>

Just upgraded to 8.1.21. The upgrade process was super easy so thank you for that. I am just curious to why the "borderPainted" property was removed for buttons? I had a bunch of buttons that used that property so now I have to change a bunch of things. Just curious 🙂

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 14, 2022, 2:45pm UTC](https://forum.inductiveautomation.com/t/borderpainted-property/65232/2 "2022-10-14T14:45:20Z")

</div>

Did you upgrade from 7.9?

---

<div class="post-metadata">

**Author:** ![Yvain17](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yvain17](https://forum.inductiveautomation.com/u/Yvain17)\
**Post date:** [October 14, 2022, 2:45pm UTC](https://forum.inductiveautomation.com/t/borderpainted-property/65232/3 "2022-10-14T14:45:51Z")

</div>

From 8.1.2

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 14, 2022, 2:46pm UTC](https://forum.inductiveautomation.com/t/borderpainted-property/65232/4 "2022-10-14T14:46:23Z")

</div>

@paul-griffith something to do with the LnF changes in between?

---

<div class="post-metadata">

**Author:** ![Yvain17](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yvain17](https://forum.inductiveautomation.com/u/Yvain17)\
**Post date:** [October 14, 2022, 2:55pm UTC](https://forum.inductiveautomation.com/t/borderpainted-property/65232/5 "2022-10-14T14:55:06Z")

</div>

Looking at the "new in this version" notes, apparently it was removed in 8.1.8 for conflicting with the "Fill Area" property.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 14, 2022, 3:10pm UTC](https://forum.inductiveautomation.com/t/borderpainted-property/65232/6 "2022-10-14T15:10:11Z")

</div>

Yeah. The Look and Feel has a fairly opinionated way things should be painted.

There's some more context on the bug here:

> [@Upgrade version makes buttons dissapear (possible bug?)](https://forum.inductiveautomation.com/t/upgrade-version-makes-buttons-dissapear-possible-bug/54921/10):
>
> Okay, let’s make sure I have things correct. By my count, there’s three problems you’re describing in this thread. Upon upgrade, some of your buttons disappear outright. I think I understand what’s gone wrong. There’s an issue in the LaF with the borderPainted property (causing the button to become invisible) so we removed the property entirely. However, older windows could still have a change from the default value serialized, so you end up with your issue - invisible buttons. We’ll see if…

That thread also has a potential workaround; changing the Synthetica.background.alpha property changes the rendering process for buttons, which might get you closer to the style you want with `borderPainted` disabled.
