# Using labels as buttons

**URL:** <https://forum.inductiveautomation.com/t/using-labels-as-buttons/116410>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [July 15, 2026, 8:01am UTC](https://forum.inductiveautomation.com/t/using-labels-as-buttons/116410 "2026-07-15T08:01:12Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [July 16, 2026, 4:22pm UTC](https://forum.inductiveautomation.com/t/using-labels-as-buttons/116410/12 "2026-07-16T16:22:18Z")

</div>

> [@Thomas\_Mulcahy](#):
>
> Mainly, I can overlay a label on a rectangle and have the rectangle look like the button with rounded corners, etc.

Just wanted to point out that it isn't impossible to achieve complex styling with a stock button, if you're willing to do a little scripting.

> [@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…

Not too difficult to also allow the background to change on hover. The example in the linked thread uses a transparent background because I couldn't be bothered at the time to write a renderer, but while not trivial is not unattainable either.

---

_[View the full topic](https://forum.inductiveautomation.com/t/using-labels-as-buttons/116410)._
