Search found 60 matches

by asusralis
01 Aug 2019, 18:20
Forum: General Discussion
Replies: 4
Views: 250

Problems with referencing resources.

I'm not sure if I'm just doing this wrong or there's a problem with Noesis. I defined two elements in a resource dictionary and I'm trying to reference one in the other. I shortened a lot of the actual XAML for this post. <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDiction...
by asusralis
29 Jul 2019, 17:30
Forum: General Discussion
Replies: 7
Views: 2088

Using the delegate version of VisualTree.HitTest crashes Unity

Noesis.Visual root = (Noesis.Visual)Noesis.VisualTreeHelper.GetRoot(view.Content); Noesis.HitTestResult result = null; Noesis.VisualTreeHelper.HitTest(root, (target) => { var element = target as Noesis.UIElement; if ((element != null) && (!element.IsHitTestVisible || !element.IsVisible)) { return N...
by asusralis
09 Jul 2019, 21:11
Forum: General Discussion
Replies: 4
Views: 1790

Re: Premultiplied images not working properly in Unity.

It seems I restarted Unity and it was fixed, but what do you mean by a label? Is it a field on the texture setting? I don't remember ever having to set a label to Noesis on a texture.
by asusralis
08 Jul 2019, 19:13
Forum: General Discussion
Replies: 4
Views: 1790

Premultiplied images not working properly in Unity.

I've tried multiplying an icon in both paint.net and a custom Unity post processor and both have the same problem. https://forums.getpaint.net/topic/113378-premultiply-alpha/ https://gist.github.com/MrJul/1042aa75493a58ceeb6d2fa7d7d039c3 Image: https://i.imgur.com/5tFnuEE.png In game: https://i.imgu...
by asusralis
23 Jun 2019, 22:30
Forum: General Discussion
Replies: 3
Views: 1766

Re: Noesis not being rendered on Android

That was the problem, thanks! No Unity project I've started ever had that as the default renderer, so I guess they recently changed that.
by asusralis
20 Jun 2019, 17:41
Forum: General Discussion
Replies: 5
Views: 1736

Re: Performance hit from simple binding

Would this have also caused the memory leak?And if I'm binding to structures, try to avoid converters for now?

Lastly, is there a reason why something like this doesn't work with DateTime in Noesis: StringFormat='{}{0:dd/MM/yyyy}' ? I could not get any of the DateTime formats to work like this.
by asusralis
20 Jun 2019, 03:55
Forum: General Discussion
Replies: 3
Views: 1766

Noesis not being rendered on Android

Like the title says, when I build to Android using Unity buttons can be clicked and the UI blocks taps, but nothing is rendered. Unity 2019.1.5/Noesis 2.2.3.
by asusralis
19 Jun 2019, 21:39
Forum: General Discussion
Replies: 2
Views: 1689

Re: Trying to create a relative canvas

Ah, I see! Thank you very much.
by asusralis
19 Jun 2019, 21:37
Forum: General Discussion
Replies: 5
Views: 1736

Re: Performance hit from simple binding

It fixed it - when changing to what you suggested, it now takes .21ms: https://i.imgur.com/yZ7Sh1D.png

Is there something wrong with the converter I wrote?