# ux:Property example can't work

**URL:** <https://forums.fusetools.com/t/ux-property-example-cant-work/2698>\
**Category:** Bug Reports\
**Created:** [December 21, 2015, 2:49pm UTC](https://forums.fusetools.com/t/ux-property-example-cant-work/2698 "2015-12-21T14:49:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mishirock](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mishirock](https://forums.fusetools.com/u/mishirock)\
**Post date:** [December 21, 2015, 2:49pm UTC](https://forums.fusetools.com/t/ux-property-example-cant-work/2698/1 "2015-12-21T14:49:24Z")

</div>

Hi, I was tried `ux:Property example at [https://www.fuseools.com/learn/fuse#ux-property](https://www.fuseools.com/learn/fuse#ux-property) but fuse-preview displays errors on OSX 10.11,

repro repo: [https://github.com/346/fuse\_property\_bug](https://github.com/346/fuse_property_bug)

errors below:

```auto
Connected to fuse daemon
Build started: FullCompile
Configuring
MainView.ux(3): E8001: 'MyButton' does not have a property called 'CornerRadius'
/Users/flytales/Projects/fuse_property_bug/MainView.ux(3,1): Error E8001: 'MyButton' does not have a property called 'CornerRadius'
MainView.ux(3): E8001: 'MyButton' does not have a property called 'Text'
/Users/flytales/Projects/fuse_property_bug/MainView.ux(3,1): Error E8001: 'MyButton' does not have a property called 'Text'
MainView.ux(3): E8001: 'MyButton' does not have a property called 'TextColor'
/Users/flytales/Projects/fuse_property_bug/MainView.ux(3,1): Error E8001: 'MyButton' does not have a property called 'TextColor'
MainView.ux(4): E8001: 'MyButton' does not have a property called 'BackgroundColor'
/Users/flytales/Projects/fuse_property_bug/MainView.ux(4,1): Error E8001: 'MyButton' does not have a property called 'BackgroundColor'
(5,454.65 ms)

Build completed in 5.47 seconds.
    0 Warning(s)
    4 Error(s)

Error Summary
-------------

MainView.ux(3): E8001: 'MyButton' does not have a property called 'CornerRadius'
MainView.ux(3): E8001: 'MyButton' does not have a property called 'Text'
MainView.ux(3): E8001: 'MyButton' does not have a property called 'TextColor'
MainView.ux(4): E8001: 'MyButton' does not have a property called 'BackgroundColor'
Build ended
fuse: Failed to compile project

```

---

<div class="post-metadata">

**Author:** ![Enguerran\_Henniart](https://avatars.discourse-cdn.com/v4/letter/e/13edae/32.png) [@Enguerran\_Henniart](https://forums.fusetools.com/u/Enguerran_Henniart)\
**Post date:** [December 21, 2015, 3:00pm UTC](https://forums.fusetools.com/t/ux-property-example-cant-work/2698/2 "2015-12-21T15:00:53Z")

</div>

Probably a uno code generator problem : commenting the `<MyButton>` in `MainView.ux`, building, then uncommenting and waiting for live reload from preview engine makes it appear fine.

---

<div class="post-metadata">

**Author:** ![Bjorn-Olav\_Strand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/bjorn-olav_strand/32/583_2.png) [@Bjorn-Olav\_Strand](https://forums.fusetools.com/u/Bjorn-Olav_Strand)\
**Post date:** [December 21, 2015, 3:55pm UTC](https://forums.fusetools.com/t/ux-property-example-cant-work/2698/3 "2015-12-21T15:55:20Z")

</div>

@Engu: Notice that this behaviour is a “feature” in the live reload, and not a uno code generator problem. The bug that @mishirock experiences also comes when doing `uno build`. There looks to be a bug in the ux compiler so that it doesn’t expose the properties when separating into files. The generated .uno code would be correct if we could just force the ux compiler to accept it. 🙂

---

<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:** [December 21, 2015, 4:07pm UTC](https://forums.fusetools.com/t/ux-property-example-cant-work/2698/4 "2015-12-21T16:07:00Z")

</div>

Thanks for reporting this. We’re on it!

---

<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:** [December 22, 2015, 12:32pm UTC](https://forums.fusetools.com/t/ux-property-example-cant-work/2698/5 "2015-12-22T12:32:30Z")

</div>

This has now been fixed, and will roll out in the next release after 0.9.5

---

<div class="post-metadata">

**Author:** ![oskar](https://avatars.discourse-cdn.com/v4/letter/o/f07891/32.png) [@oskar](https://forums.fusetools.com/u/oskar)\
**Post date:** [January 27, 2016, 8:01am UTC](https://forums.fusetools.com/t/ux-property-example-cant-work/2698/6 "2016-01-27T08:01:22Z")

</div>

Hello, I’m wondering if this is already released in current version (0.9.7), I’m pretty much having the same problem:

```auto
Configuring
/Users/oskar/projects/native-app/app/components/BottomToolbar.ux(10): E8001: 'BottomMenuItem' does not have a property called 'BackgroundColor'
/Users/oskar/projects/native-app/app/components/BottomToolbar.ux(10): E8001: 'BottomMenuItem' does not have a property called 'Color'

```

---

<div class="post-metadata">

**Author:** ![Kristian\_Hasselknipp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/kristian_hasselknipp/32/549_2.png) [@Kristian\_Hasselknipp](https://forums.fusetools.com/u/Kristian_Hasselknipp)\
**Post date:** [January 27, 2016, 8:46am UTC](https://forums.fusetools.com/t/ux-property-example-cant-work/2698/7 "2016-01-27T08:46:26Z")

</div>

This will be working again in the next beta release.
