# StatusBarBackground adds Left and Right Margin in my app.

**URL:** <https://forums.fusetools.com/t/statusbarbackground-adds-left-and-right-margin-in-my-app/5130>\
**Category:** Bug Reports\
**Created:** [June 13, 2016, 2:37pm UTC](https://forums.fusetools.com/t/statusbarbackground-adds-left-and-right-margin-in-my-app/5130 "2016-06-13T14:37:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eivind.teig](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eivind.teig/32/216_2.png) [@eivind.teig](https://forums.fusetools.com/u/eivind.teig)\
**Post date:** [June 13, 2016, 2:37pm UTC](https://forums.fusetools.com/t/statusbarbackground-adds-left-and-right-margin-in-my-app/5130/1 "2016-06-13T14:37:35Z")

</div>

Fuse version 0.20.3 (build 6549) Copyright © 2016 Fusetools

OSX 10.11.3

Download the concerts2go example app. add

```auto
<DockPanel>
        <StatusBarBackground Dock="Top"/>

```

after `<App>` and close the DockPanel before the `</App>`

Preview on Android phone. (Sony Xperia Z3)

here is a working example of this.

This migth just be working as intende or just “i forgot to stretch the background”, working with UX is a learning as you go expeience for me.

[https://www.dropbox.com/s/0eixjy1w7nszfiy/concert2go-with-statusbar-dock.zip?dl=1](https://www.dropbox.com/s/0eixjy1w7nszfiy/concert2go-with-statusbar-dock.zip?dl=1)

Edit: No, but i will link it, was told to make a post how to reproduce the behaviour i seeing.

Screenshot: [http://i.imgur.com/Wp0ZBmj.png](http://i.imgur.com/Wp0ZBmj.png)

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [June 14, 2016, 8:27am UTC](https://forums.fusetools.com/t/statusbarbackground-adds-left-and-right-margin-in-my-app/5130/2 "2016-06-14T08:27:26Z")

</div>

Hi Eivind, I think something’s missing in your post. Was it supposed to contain a screenshot of the issue?

I’ve otherwise edited your post to display the UX correctly. (Our forum uses [markdown](https://guides.github.com/features/mastering-markdown/) )

---

<div class="post-metadata">

**Author:** ![eivind.teig](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eivind.teig/32/216_2.png) [@eivind.teig](https://forums.fusetools.com/u/eivind.teig)\
**Post date:** [June 14, 2016, 9:33am UTC](https://forums.fusetools.com/t/statusbarbackground-adds-left-and-right-margin-in-my-app/5130/3 "2016-06-14T09:33:07Z")

</div>

Added screenshot.

---

<div class="post-metadata">

**Author:** ![Vegard\_Strand\_Lende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vegard_strand_lende/32/349_2.png) [@Vegard\_Strand\_Lende](https://forums.fusetools.com/u/Vegard_Strand_Lende)\
**Post date:** [June 14, 2016, 11:11am UTC](https://forums.fusetools.com/t/statusbarbackground-adds-left-and-right-margin-in-my-app/5130/4 "2016-06-14T11:11:11Z")

</div>

Hi!

This is indeed caused by stretching, since the Video and the Image in your app is maintaining its aspect. Try adding `StretchMode="UniformToFill"` on the `<Video />` and `<Image />` tag.

Please have a look on the docs for StretchMode [https://www.fusetools.com/docs/fuse/controls/image/stretchmode](https://www.fusetools.com/docs/fuse/controls/image/stretchmode)

---

<div class="post-metadata">

**Author:** ![eivind.teig](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eivind.teig/32/216_2.png) [@eivind.teig](https://forums.fusetools.com/u/eivind.teig)\
**Post date:** [June 14, 2016, 12:02pm UTC](https://forums.fusetools.com/t/statusbarbackground-adds-left-and-right-margin-in-my-app/5130/5 "2016-06-14T12:02:53Z")

</div>

Worked like a charm! =)
