Search found 17 matches

  • 1
  • 2
by asthomas
21 Jul 2022, 15:41
Forum: General Discussion
Replies: 8
Views: 875

Re: Updating from 3.1.2 to 3.1.5 causes build failure.

Thank you. We are still in a preparatory phase of the project, working out how to approach a port, so we can work with 3.1.2 for now.
by asthomas
15 Jul 2022, 20:18
Forum: General Discussion
Replies: 8
Views: 875

Re: Updating from 3.1.2 to 3.1.5 causes build failure.

We have a large body of code that we want to port from WFP to Noesis. Does this mean that we will have to go through it all and change the namespaces, using statements and fully qualified class names to use new namespaces? colin14321 showed me his project, and the offending class was unrelated to Ap...
by asthomas
20 Jan 2022, 00:51
Forum: General Discussion
Replies: 1
Views: 373

Controls in a window do not resize and re-flow while the window is being resized

In WPF, the controls in a window change size, position, acquire scrollbars, etc. as the window is being resized. The same application using Noesis does not resize and re-flow the controls until I stop resizing the window and release the drag. I know this doesn't matter for phone and Unity, but it lo...
by asthomas
20 Jan 2022, 00:46
Forum: General Discussion
Replies: 4
Views: 4269

Re: Can I set the default font using XAML?

Thanks for the explanation. I rolled my own FindResource and confirmed that I can set the default font characteristics during Application.OnStartup from the XAML in App.xaml. I was hoping to produce something that automatically used the same font family and size as a native WPF application, but on f...
by asthomas
19 Jan 2022, 15:43
Forum: General Discussion
Replies: 4
Views: 4269

Re: Can I set the default font using XAML?

One possible approach would be to use Application.FindResource to look at the XAML and then execute code in App.OnStartup. See https://docs.microsoft.com/en-us/dotnet/api/system.windows.application.findresource?view=netframework-4.6.1 However, Application.FindResource is not implemented. Is that int...
by asthomas
19 Jan 2022, 15:34
Forum: General Discussion
Replies: 4
Views: 4269

Can I set the default font using XAML?

I see the included themes use MergedDictionaries, like this: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary ResourceDictionary.Source="NoesisTheme.Brushes.LightAqua.xaml" /> <Resou...
by asthomas
19 Jan 2022, 15:19
Forum: General Discussion
Replies: 3
Views: 554

Re: Portability suggestions - InitializeComponent and ConnectEvent

I have added a ticket. Incidentally, almost the same effect can be achieved by creating a derived class from Window, and then placing those two functions in that class. When porting from existing WPF code that class can be referenced with a "using" statement. #if NOESIS using Window = MyNa...
by asthomas
18 Jan 2022, 22:58
Forum: General Discussion
Replies: 3
Views: 554

Portability suggestions - InitializeComponent and ConnectEvent

I am looking at porting a substantial application from WPF to Noesis. I have some suggestions that I think would make this easier, and eliminate the need for NOESIS-specific code in the window setup (at least in simple cases). 1. Make InitializeComponent virtual for Window, so it only needs to be ov...
by asthomas
18 Jan 2022, 20:54
Forum: Official Announcements
Replies: 34
Views: 40344

Re: WebAssembly

Thanks. I'll take a look. If we decide to go ahead on a Noesis Engine project we'll probably want to take you up on the offer to prioritize WebAssembly when we buy our license.
by asthomas
13 Jan 2022, 13:04
Forum: Official Announcements
Replies: 34
Views: 40344

Re: WebAssembly

Thanks for clarifying. That makes Unity a fallback option if we cannot get WebAssembly to work any other way. Back to my earlier question - can you provide some information about how we would compile to WebAssembly from a .NET Framework project? We do not mind writing post-processing scripts and mak...
  • 1
  • 2