# How to add height,width,border radius property for the label

**URL:** <https://forum.inductiveautomation.com/t/how-to-add-height-width-border-radius-property-for-the-label/106234>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [May 14, 2025, 1:07am UTC](https://forum.inductiveautomation.com/t/how-to-add-height-width-border-radius-property-for-the-label/106234 "2025-05-14T01:07:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ywang142](https://avatars.discourse-cdn.com/v4/letter/y/41988e/32.png) [@ywang142](https://forum.inductiveautomation.com/u/ywang142)\
**Post date:** [May 14, 2025, 1:07am UTC](https://forum.inductiveautomation.com/t/how-to-add-height-width-border-radius-property-for-the-label/106234/1 "2025-05-14T01:07:24Z")

</div>

Q1: how to add height,width,border radius property for the label which can't find in the list, right now I just can make it work through add new value and input these key and value, but I know it's not standard solution, who knows?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/e/4e426d419133eaec2cb5c54a802a5ef6b47293f4.png)

---

<div class="post-metadata">

**Author:** ![Aizhigit\_Mussali](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@Aizhigit\_Mussali](https://forum.inductiveautomation.com/u/Aizhigit_Mussali)\
**Post date:** [May 14, 2025, 1:33am UTC](https://forum.inductiveautomation.com/t/how-to-add-height-width-border-radius-property-for-the-label/106234/2 "2025-05-14T01:33:26Z")

</div>

It seems like your label component is located inside Flex Container. See [Perspective - Flex Container | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-container-palette/perspective-flex-container) to get height and width you like. You also can nest flex containers and try different combination of row and column direction of flex container, shrink, grow and basis values of components inside flex container.

Border radius can be set up by clicking this icon around "style" property.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/5/05207c117746c9c40d01cd4fcda189b9ae90d112.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/b/fb359ae787e315f6e348dbcff9cd70ac3932a48b.png)

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [May 14, 2025, 1:43am UTC](https://forum.inductiveautomation.com/t/how-to-add-height-width-border-radius-property-for-the-label/106234/3 "2025-05-14T01:43:30Z")

</div>

> [@ywang142](#):
>
> I just can make it work through add new value and input these key and value

This is the normal workflow, the menu system is a convenience item for certain common functions.

```css
height:
width:

```

These are not used much in perspective.

---

<div class="post-metadata">

**Author:** ![ywang142](https://avatars.discourse-cdn.com/v4/letter/y/41988e/32.png) [@ywang142](https://forum.inductiveautomation.com/u/ywang142)\
**Post date:** [May 14, 2025, 1:56am UTC](https://forum.inductiveautomation.com/t/how-to-add-height-width-border-radius-property-for-the-label/106234/4 "2025-05-14T01:56:47Z")

</div>

yes, you're correct, but in the Flex Container don't show the height and width for the origin setting and we all want to set these basic size for the component inside it even thought it will change base on the container size

---

<div class="post-metadata">

**Author:** ![ywang142](https://avatars.discourse-cdn.com/v4/letter/y/41988e/32.png) [@ywang142](https://forum.inductiveautomation.com/u/ywang142)\
**Post date:** [May 14, 2025, 1:59am UTC](https://forum.inductiveautomation.com/t/how-to-add-height-width-border-radius-property-for-the-label/106234/5 "2025-05-14T01:59:13Z")

</div>

Do you mean it's not necessary to set weight and width in the Flex Container?

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [May 14, 2025, 2:56am UTC](https://forum.inductiveautomation.com/t/how-to-add-height-width-border-radius-property-for-the-label/106234/6 "2025-05-14T02:56:18Z")

</div>

This isn't how flex works, it is likely these elements are having no effect at all.  
You would normally be using the basis for these settings as shown in the Inductive University courses.
