# problem with Rectangle Fills within NativeViewHost

**URL:** <https://forums.fusetools.com/t/problem-with-rectangle-fills-within-nativeviewhost/4498>\
**Category:** Bug Reports\
**Created:** [June 27, 2016, 12:46pm UTC](https://forums.fusetools.com/t/problem-with-rectangle-fills-within-nativeviewhost/4498 "2016-06-27T12:46:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [June 27, 2016, 12:46pm UTC](https://forums.fusetools.com/t/problem-with-rectangle-fills-within-nativeviewhost/4498/1 "2016-06-27T12:46:48Z")

</div>

Hey, testing on a Mac, Fuse 0.21.0 build 6650.

I can’t seem to display any `Fill` colors of my `Rectangle`s that I try to layer above each other within a `NativeViewHost`.

Consider the following code:

```auto
<App>

    <NativeViewHost Background="#fff">

        <DockPanel>

            <Panel Width="70%" Height="150" Dock="Top">
                <Text Alignment="Center" Color="#000" Value="Testing NVH" />
                <Rectangle Fill="#f00" />
            </Panel>

            <Panel Dock="Fill" Background="#0f0">
                <Panel Width="70%" Height="50" Alignment="TopCenter" Margin="0,20,0,0">
                    <Text Alignment="Center" Color="#000" Value="Testing NVH" />
                    <Rectangle Fill="#f0f" />
                </Panel>
                <MapView />
            </Panel>

            <Panel Width="70%" Height="150" Dock="Bottom">
                <Text Alignment="Center" Color="#000" Value="Testing NVH" />
                <Rectangle Fill="#00f" />
            </Panel>

        </DockPanel>

    </NativeViewHost>

</App>

```

It works just fine and as expected on Local preview (picture): [https://www.dropbox.com/s/84ees66fa8izjok/Screenshot%202016-06-27%2015.42.03.png?dl=0](https://www.dropbox.com/s/84ees66fa8izjok/Screenshot%202016-06-27%2015.42.03.png?dl=0)

However iOS preview displays something else (don’t mind the map, this diff is expected): [https://dl.dropboxusercontent.com/u/11750787/File%2027-06-16%2015%2043%2023.png](https://dl.dropboxusercontent.com/u/11750787/File%2027-06-16%2015%2043%2023.png)

Same behavior on iPhone and iPad, and it seems it’s exactly the same on Android, Nexus 5 specifically.

---

<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:** [June 27, 2016, 12:53pm UTC](https://forums.fusetools.com/t/problem-with-rectangle-fills-within-nativeviewhost/4498/2 "2016-06-27T12:53:44Z")

</div>

Hi,

This feature was temporarily disabled (in order to not delay version 0.20 further), but will be returning in a near future version.

Sorry for the inconvenience!
