News for hackers. Stuff that matters.
Re:Tauri – Electron alternative written in Rust by pornel on Wednesday January 05, 2022 @12:59PM (#29812504)
Right-click, Inspect Element.

Web development tools have become fantastic UI debugging tools. You can inspect live running UI and tweak it in real time without a rebuild.

CSS is very powerful, and it's relatively easy to build complex layouts with animations. People joke how it's impossible to center things, but CSS has matured beyond that (IE is dead).

Re:Tauri – Electron alternative written in Rust by int_19h on Wednesday January 05, 2022 @02:09PM (#29813444)
WPF had the equivalent of "inspect element" 10 years ago. You don't need HTML for that, you just need good tooling.
Re:Tauri – Electron alternative written in Rust by pornel on Wednesday January 05, 2022 @07:42PM (#29817513)
I must admit, I haven't been following Windows toolkits since MFC. I've only heard about WPF in the context of dead Longhorn features. Isn't it deprecated in favor of WinUI or whatever replaced Metro?
Re:Tauri – Electron alternative written in Rust by int_19h on Wednesday January 05, 2022 @10:47PM (#29819103)
Officially, it isn't (e.g. it got ported to .NET Core). De facto, it is, but it still works just fine, as do WinForms, and all the tooling support is still there.

That said, I've mentioned WPF mostly because that's what I'm personally familiar with. The same inspector-type tooling is available for newer XAML-based frameworks, as well:

https://docs.microsoft.com/en-us/visualstudio/xaml-tools/ins...