Search found 13 matches

  • 1
  • 2
by goldsaucer
09 Feb 2019, 11:56
Forum: General Discussion
Replies: 6
Views: 328

Re: Unity not being aware of changes in Xaml after checking out on another computer?

We also still have this problem with 2.1. Usually a re-import of the relevant assets helps.
by goldsaucer
20 Dec 2018, 09:17
Forum: General Discussion
Replies: 5
Views: 266

Re: Noesis and FontAwesome

There's definitely an .asset file for the font and for the theme xaml too. I get the same error as above when I reimport the theme. :S

I'll try to create a self-contained project to reproduce the issue independently from our project.
by goldsaucer
17 Dec 2018, 13:49
Forum: General Discussion
Replies: 5
Views: 266

Re: Noesis and FontAwesome

Yeah I renamed the file. I used the original file now and still get this error: NoesisException: Assets/MyTheme.xaml(38): Can't convert '/Assets/UIAssets/Fonts/fa-solid-900.ttf#Font Awesome 5 Free' into a 'FontFamily' object. Rethrow as NoesisException Noesis.Error.Check () (at Assets/NoesisGUI/Plug...
by goldsaucer
17 Dec 2018, 10:07
Forum: General Discussion
Replies: 5
Views: 266

Noesis and FontAwesome

Hey, I'm trying to use FontAwesome in my noesis project. I put it into our theme like this: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <FontFamily x:Key="FontAwesome">UIAssets/Fonts/FontAwesome.ttf#Fon...
by goldsaucer
14 Dec 2018, 22:22
Forum: General Discussion
Replies: 9
Views: 400

Re: Triggering animation whenever screen is shown

Thanks, binding the actual height to the render transform's Y directly in XAML does work too!
by goldsaucer
14 Dec 2018, 15:54
Forum: General Discussion
Replies: 9
Views: 400

Re: Triggering animation whenever screen is shown

Ok I found a programmatic solution. When entering the screen I trigger the animation via code as shown by sfernandez above. The trick is to set the render transform of the element to its current ActualHeight/Width before starting the animation and not setting a `from` in the animation, because then ...
by goldsaucer
14 Dec 2018, 14:26
Forum: General Discussion
Replies: 9
Views: 400

Re: Triggering animation whenever screen is shown

I'm actually quite baffled that this seems to be such a complicated issue to have dynamic values for an animation both in WPF and noesis. I mean in WPF it's still possible although using a hack. But in noesis it seems to be simply impossible (due to the lack of MultiBindings). :S Am I doing somethin...
by goldsaucer
14 Dec 2018, 12:47
Forum: General Discussion
Replies: 9
Views: 400

Re: Triggering animation whenever screen is shown

This works fine with hard coded values. Do you know how to make it work with dynamic values / bindings, though? I tried to do the following but get the exception below: <Border.Style> <Style TargetType="{x:Type Border}"> <Style.Triggers> <DataTrigger Binding="{Binding SlideInUI}" Value="True"> <Data...
by goldsaucer
13 Dec 2018, 16:31
Forum: General Discussion
Replies: 31
Views: 5974

Re: Effects

Can't wait to see the drop shadow effect implemented either! Using a nasty work around right now in our game. Hopefully we can avoid that in the future.
by goldsaucer
13 Dec 2018, 10:08
Forum: General Discussion
Replies: 9
Views: 400

Re: Triggering animation whenever screen is shown

Ah I see. I wonder why I hadn't thought the DataTrigger myself before. But especially being able to trigger the animation by making it a resource and using that in the code is super helpful. Thanks a lot!
  • 1
  • 2