# Creating a material instance for each button all good?

**URL:** <https://forums.unrealengine.com/t/creating-a-material-instance-for-each-button-all-good/476815>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [January 5, 2021, 3:13pm UTC](https://forums.unrealengine.com/t/creating-a-material-instance-for-each-button-all-good/476815 "2021-01-05T15:13:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [January 5, 2021, 6:42pm UTC](https://forums.unrealengine.com/t/creating-a-material-instance-for-each-button-all-good/476815/2 "2021-01-05T18:42:55Z")

</div>

> (Otherwise the rounded corners aren’t  
> ‘round’ but more oblong).

Look into how [9-slice](https://en.wikipedia.org/wiki/9-slice_scaling) works (called 9 Scale Box in UE4) - `Setting Image States`, here:

> **[UMG Styling](https://docs.unrealengine.com/5.3/en-US/umg-styling-in-unreal-engine/)**
>
> A guide to stylizing Widget Blueprints in UMG.

The margins control how much of the edges are preserved.

* * *

If all you want is rounded boxes on differently shaped buttons, 1 material instance is enough for this.

---

_[View the full topic](https://forums.unrealengine.com/t/creating-a-material-instance-for-each-button-all-good/476815)._
