# White statusbar

**URL:** <https://forums.fusetools.com/t/white-statusbar/5337>\
**Category:** Bug Reports\
**Created:** [August 23, 2016, 10:03pm UTC](https://forums.fusetools.com/t/white-statusbar/5337 "2016-08-23T22:03:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Casey\_Williams](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/casey_williams/32/147_2.png) [@Casey\_Williams](https://forums.fusetools.com/u/Casey_Williams)\
**Post date:** [August 23, 2016, 10:03pm UTC](https://forums.fusetools.com/t/white-statusbar/5337/1 "2016-08-23T22:03:57Z")

</div>

For some reason the status bar on both android and iOS has turned white when previously before I updated to the last version of fuse, was the system default.

I haven’t changed my code at all, the status bar is declared in the outer layer of the app inside a dock panel and is docked to the top.

Anybody know why this is, and how I can get it back to normal or change the colour?

Many thanks,  
Casey

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [August 24, 2016, 4:17am UTC](https://forums.fusetools.com/t/white-statusbar/5337/2 "2016-08-24T04:17:28Z")

</div>

Hi,

There are two aspects of the status bar:

1. Whether or not your app content is filling up the space behind the status bar. If you use a `ClientPanel` or `StatusBarBackground`, the space behind the status bar will not be occupied by your app content, and you will be seeing the `<App Background="..` color.
2. On Android, you can also set a OS-drawn fill color for the status bar. By default in more recent Fuse versions, it is transparent, so you have to set it like this: `<Android.StatusBarConfig Color="..`

Hope that helps. Without seeing screenshots and code, it is hard to give a more specific response.

---

<div class="post-metadata">

**Author:** ![Edwin\_Reynoso](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@Edwin\_Reynoso](https://forums.fusetools.com/u/Edwin_Reynoso)\
**Post date:** [August 25, 2016, 2:58am UTC](https://forums.fusetools.com/t/white-statusbar/5337/3 "2016-08-25T02:58:36Z")

</div>

Hey Anders I think this should be something that should be easily linked in the docs, I remember when I first joined the Fuse community, lots of people had statusbar problems. Now things have changed with StatusBar since 0.20 so it should be something that is on the left side navigation in the docs explaining exactly how it works like you did above. Thanks.

---

<div class="post-metadata">

**Author:** ![Falco\_Liebau](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/falco_liebau/32/509_2.png) [@Falco\_Liebau](https://forums.fusetools.com/u/Falco_Liebau)\
**Post date:** [August 30, 2016, 4:21pm UTC](https://forums.fusetools.com/t/white-statusbar/5337/4 "2016-08-30T16:21:33Z")

</div>

Same here. I also have the white statusbar but haven’t done anything to it. It wasn’t white in older versions of Fuse though.

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/yDpWUkX4HQms-image-1472574033866.png)

---

<div class="post-metadata">

**Author:** ![Casey\_Williams](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/casey_williams/32/147_2.png) [@Casey\_Williams](https://forums.fusetools.com/u/Casey_Williams)\
**Post date:** [August 30, 2016, 5:25pm UTC](https://forums.fusetools.com/t/white-statusbar/5337/5 "2016-08-30T17:25:54Z")

</div>

Yeah, the exact same as me 🙂

Edit:  
I will post code later, sorry about the delay haven’t been able to work on the app much lately. I’m on mobile at the moment so can’t post code till I get home.

Edit 2:  
Here’s the code for my MainView.ux:

```auto
<App>

    <JavaScript File="Backend.js"/>
    <!-- INCLUDE THE COLOR PALLETE -->
    <ColorPalette/>
    <!-- Declare the Icon font (place in ./fonts folder) -->
    <Font File="Fonts/MaterialIcons-Regular.ttf" ux:Global="materialIcon" />
    <!-- Declare the Icon class -->
    <Text Font="materialIcon" ux:Class="Icon" Color="icons"></Text>

    <!-- Declare the Roboto font (place in ./fonts folder) -->
    <Font File="fonts/LemonMilk.otf" ux:Global="medium" />
    <Font File="fonts/LemonMilk.otf" ux:Global="regular" />

    <DockPanel>
        <StatusBarBackground Dock="Top"/>
        <BottomBarBackground Dock="Bottom" IsEnabled="false"/>

        <Router ux:Name="router" BackButtonAction="GoBack"/>

        <WhileTrue Value="{logout_popup_visible}">
            <LogoutPopup Layer="Overlay"/>
        </WhileTrue>

        <Navigator DefaultTemplate="login">
            <Login ux:Template="login" router="router" />
            <Home ux:Template="home" router="router" />
            <Health ux:Template="health" router="router" />
            <Social ux:Template="social" router="router" />
            <Physical ux:Template="physical" router="router" />
            <News ux:Template="news" router="router" />
            <Sharp ux:Template="sharp" router="router" />
            <Contact ux:Template="contact" router="router" />
            <Tos ux:Template="tos" router="router" />
            <Mental ux:Template="mental" router="router" />
            <ReportAbsence ux:Template="reportabsence" router="router"/>
            <AboutUs ux:Template="aboutus" router="router"/>
        </Navigator>
    </DockPanel>

</App>

```

---

<div class="post-metadata">

**Author:** ![Casey\_Williams](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/casey_williams/32/147_2.png) [@Casey\_Williams](https://forums.fusetools.com/u/Casey_Williams)\
**Post date:** [September 1, 2016, 11:01am UTC](https://forums.fusetools.com/t/white-statusbar/5337/6 "2016-09-01T11:01:30Z")

</div>

I’ve just set the `<App Background="..` and this has done the trick for me!🙂  
Thanks

---

<div class="post-metadata">

**Author:** ![Falco\_Liebau](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/falco_liebau/32/509_2.png) [@Falco\_Liebau](https://forums.fusetools.com/u/Falco_Liebau)\
**Post date:** [September 1, 2016, 11:05am UTC](https://forums.fusetools.com/t/white-statusbar/5337/7 "2016-09-01T11:05:10Z")

</div>

Hey Casey 🙂 Awesome! So what exactly did you write in the Background Attribute of the App tag?

---

<div class="post-metadata">

**Author:** ![Casey\_Williams](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/casey_williams/32/147_2.png) [@Casey\_Williams](https://forums.fusetools.com/u/Casey_Williams)\
**Post date:** [September 1, 2016, 11:07am UTC](https://forums.fusetools.com/t/white-statusbar/5337/8 "2016-09-01T11:07:11Z")

</div>

Hi Falco!

I set mine to `<App Background="#000">` as I wanted the top bar to be black:)

---

<div class="post-metadata">

**Author:** ![Falco\_Liebau](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/falco_liebau/32/509_2.png) [@Falco\_Liebau](https://forums.fusetools.com/u/Falco_Liebau)\
**Post date:** [September 1, 2016, 11:24am UTC](https://forums.fusetools.com/t/white-statusbar/5337/9 "2016-09-01T11:24:37Z")

</div>

Works like a charm! Thanks mate!

---

<div class="post-metadata">

**Author:** ![Casey\_Williams](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/casey_williams/32/147_2.png) [@Casey\_Williams](https://forums.fusetools.com/u/Casey_Williams)\
**Post date:** [September 1, 2016, 11:34am UTC](https://forums.fusetools.com/t/white-statusbar/5337/10 "2016-09-01T11:34:45Z")

</div>

No problem, thanks Anders also haha!

---

<div class="post-metadata">

**Author:** ![Falco\_Liebau](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/falco_liebau/32/509_2.png) [@Falco\_Liebau](https://forums.fusetools.com/u/Falco_Liebau)\
**Post date:** [September 1, 2016, 11:37am UTC](https://forums.fusetools.com/t/white-statusbar/5337/11 "2016-09-01T11:37:17Z")

</div>

Definitely! Just tried to set the Background of “StatusBarBackground”. This works as well (and doesn’t set the Background of the entire app to black or something else).

---

<div class="post-metadata">

**Author:** ![Casey\_Williams](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/casey_williams/32/147_2.png) [@Casey\_Williams](https://forums.fusetools.com/u/Casey_Williams)\
**Post date:** [September 1, 2016, 11:38am UTC](https://forums.fusetools.com/t/white-statusbar/5337/12 "2016-09-01T11:38:46Z")

</div>

> **Falco Liebau wrote:**
> 
> Definitely! Just tried to set the Background of “StatusBarBackground”. This works as well (and doesn’t set the Background of the entire app to black or something else).

Okay cool that might be useful in future, thanks:)
