# Make a container rounded

**URL:** <https://forum.inductiveautomation.com/t/make-a-container-rounded/71083>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 15, 2023, 10:04am UTC](https://forum.inductiveautomation.com/t/make-a-container-rounded/71083 "2023-03-15T10:04:23Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 15, 2023, 2:24pm UTC](https://forum.inductiveautomation.com/t/make-a-container-rounded/71083/6 "2023-03-15T14:24:36Z")

</div>

Technically this is possible to do through scripting. Here is an example of doing this for a momentary button, it should be applicable to a container as well.

> [@Customised button as an SVG file](https://forum.inductiveautomation.com/t/customised-button-as-an-svg-file/53745/6):
>
> Rounded Edges aren’t too difficult, though I’m not sure it’s really worth the effort, depending on the size of your project. For posterities sake: In the internalFrameActivated event of a window you can place this code (I put mine in a momentary button for ease of use, so this will not work as is in an internalFrame event, the code for getting a reference to the button will need to change. from java.awt import Insets from javax.swing.border import CompoundBorder class RoundedBorder(Compound…

That code doesn't address the background, but that is also achievable.

I might be able to find some time today to work through that, shouldn't be too difficult.

---

_[View the full topic](https://forum.inductiveautomation.com/t/make-a-container-rounded/71083)._
