News for hackers. Stuff that matters.
Re:Ask HN: How to do cross platform GUI? by benbristow on Sunday August 23, 2020 @12:03PM (#24252796)
> 1) Buy a basic HTML template online for your app's dashboard.

I've never had good experiences with templates. They usually have too many dependencies or too many custom tweaks. There's one I'm using on a project at work (was chosen before I joined) and it's a huge mishmash of Bootstrap/Material Design and other stuff. Proper mess.

Much easier to just choose a style framework like Bootstrap and build it yourself.

2> Instead, use the native WebBrowser control in .NET for Windows

Use WebView2 instead. It uses the new Edge/Chromium rendering engine - https://docs.microsoft.com/en-us/microsoft-edge/webview2/

Re:Ask HN: How to do cross platform GUI? by ChrisSD on Sunday August 23, 2020 @12:42PM (#24253146)
According to those docs:

> The WebView2 Preview is intended for early prototyping and to gather feedback to help shape the API. You should not use the preview in your production apps because there may be breaking changes.

Re:Ask HN: How to do cross platform GUI? by benbristow on Monday August 24, 2020 @05:56AM (#24259067)
A preview build vs Internet Explorer/Trident based rendering engine. I'd take my chances.

Or just use Electron

Re:Ask HN: How to do cross platform GUI? by dkersten on Sunday August 23, 2020 @01:23PM (#24253514)
I agree regarding templates, the ones I’ve used all were pretty low quality. Something like this may be more appropriate: https://news.ycombinator.com/item?id=24030581