# TextField inside WrapPanel bug?

**URL:** <https://forums.fusetools.com/t/textfield-inside-wrappanel-bug/6714>\
**Category:** Bug Reports\
**Created:** [November 10, 2015, 6:31pm UTC](https://forums.fusetools.com/t/textfield-inside-wrappanel-bug/6714 "2015-11-10T18:31:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filip](https://avatars.discourse-cdn.com/v4/letter/f/919ad9/32.png) [@Filip](https://forums.fusetools.com/u/Filip)\
**Post date:** [November 10, 2015, 6:31pm UTC](https://forums.fusetools.com/t/textfield-inside-wrappanel-bug/6714/1 "2015-11-10T18:31:43Z")

</div>

I’m trying to have the TextInput inside a “bubble” (see image) but when I put it inside a WrapPanel padding is added. Is this a bug or is it human error (me)?

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/4S4nZ0xRN1zx-legacy-files-UoW2bjQeGp7xn8z1-6xPNmybyPFdqABEctGne-40b.png)

---

<div class="post-metadata">

**Author:** ![Filip](https://avatars.discourse-cdn.com/v4/letter/f/919ad9/32.png) [@Filip](https://forums.fusetools.com/u/Filip)\
**Post date:** [November 10, 2015, 6:32pm UTC](https://forums.fusetools.com/t/textfield-inside-wrappanel-bug/6714/2 "2015-11-10T18:32:02Z")

</div>

```
<Panel Padding="10,5,10,0" Margin="5,0,5,0" Background="#0f0">
    <Rectangle Layer="Background" Opacity="0.5">
        <Rectangle CornerRadius="8" Fill="#e0c0d5"></Rectangle>
        <Rectangle CornerRadius="8" Fill="#c89abc" Offset="0,3"></Rectangle>
    </Rectangle>
    <TextInput MinWidth="50" Height="30" Padding="0" Margin="0" Background="#f00" CaretColor="#69135b" />
</Panel>
<WrapPanel FlowDirection="LeftToRight" Margin="20,0,20,0">
<Each Items="{words}">
<Bubble>
<BubbleText TextColor="#69135b" Value="{}" />
</Bubble>
</Each>
</WrapPanel>
<WrapPanel FlowDirection="LeftToRight" Margin="20,0,20,0">
<Panel Padding="10,5,10,0" Margin="5,0,5,0" Background="#0f0">
<Rectangle Layer="Background" Opacity="0.5">
<Rectangle CornerRadius="8" Fill="#e0c0d5"></Rectangle>
<Rectangle CornerRadius="8" Fill="#c89abc" Offset="0,3"></Rectangle>
</Rectangle>
<TextInput MinWidth="50" Height="30" Padding="0" Margin="0" Background="#f00" CaretColor="#69135b" />
</Panel>
&lt;Each Items=&quot;{words}&quot;&gt;
    &lt;Bubble&gt;
        &lt;BubbleText TextColor=&quot;#69135b&quot; Value=&quot;{}&quot; /&gt;
    &lt;/Bubble&gt;
&lt;/Each&gt;

</WrapPanel>

```

---

<div class="post-metadata">

**Author:** ![Bent](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bent/32/157_2.png) [@Bent](https://forums.fusetools.com/u/Bent)\
**Post date:** [November 10, 2015, 6:33pm UTC](https://forums.fusetools.com/t/textfield-inside-wrappanel-bug/6714/3 "2015-11-10T18:33:30Z")

</div>

Can you post the code for this so we can take a look? 🙂

---

<div class="post-metadata">

**Author:** ![Filip](https://avatars.discourse-cdn.com/v4/letter/f/919ad9/32.png) [@Filip](https://forums.fusetools.com/u/Filip)\
**Post date:** [November 10, 2015, 6:40pm UTC](https://forums.fusetools.com/t/textfield-inside-wrappanel-bug/6714/4 "2015-11-10T18:40:28Z")

</div>

Ok. So all I did was move the Panel with the `<TextInput>`inside the `<WrapPanel>`
