# \[BUG-304\] Perspective: Numeric Entry Field not honouring top/bottom margins

**URL:** <https://forum.inductiveautomation.com/t/bug-304-perspective-numeric-entry-field-not-honouring-top-bottom-margins/37993>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [August 22, 2020, 11:29am UTC](https://forum.inductiveautomation.com/t/bug-304-perspective-numeric-entry-field-not-honouring-top-bottom-margins/37993 "2020-08-22T11:29:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [August 22, 2020, 11:29am UTC](https://forum.inductiveautomation.com/t/bug-304-perspective-numeric-entry-field-not-honouring-top-bottom-margins/37993/1 "2020-08-22T11:29:52Z")

</div>

v8.0.15

I’m trying to set top and bottom margins for the numeric entry field, however they’re not taking:

I’ve gotten around it by placing it in its own flex container and setting the margins on the flex container

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/9/69be5e37493dd7d67ce28f9735942f4a0d9e097a.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/1/a15c2405ae4bc935d3c86ca557707e85cc96944d.png)

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [August 25, 2020, 2:56pm UTC](https://forum.inductiveautomation.com/t/bug-304-perspective-numeric-entry-field-not-honouring-top-bottom-margins/37993/2 "2020-08-25T14:56:30Z")

</div>

When we add some padding value to the NumericEntryField’s style, those value have no effect on this component.  
Is it a bug ?

---

<div class="post-metadata">

**Author:** ![ryanjmclaughlin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryanjmclaughlin/32/4318_2.png) [@ryanjmclaughlin](https://forum.inductiveautomation.com/u/ryanjmclaughlin)\
**Post date:** [December 12, 2020, 4:47pm UTC](https://forum.inductiveautomation.com/t/bug-304-perspective-numeric-entry-field-not-honouring-top-bottom-margins/37993/3 "2020-12-12T16:47:50Z")

</div>

I’m seeing the same effect with the File Upload Component

---

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [September 20, 2023, 6:35am UTC](https://forum.inductiveautomation.com/t/bug-304-perspective-numeric-entry-field-not-honouring-top-bottom-margins/37993/4 "2023-09-20T06:35:07Z")

</div>

just to see is there any update on this? I have the same issue here, version 8.1.31.

---

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [September 20, 2023, 6:35am UTC](https://forum.inductiveautomation.com/t/bug-304-perspective-numeric-entry-field-not-honouring-top-bottom-margins/37993/5 "2023-09-20T06:35:49Z")

</div>

alternatively, I put the numeric entry box in a embedded window to apply the margin.
