A new Avalonia UI Controls release is now available the adds an exciting new feature named user interface density. Best of all, this feature is part of Actipro Themes and completely free to use!
See the related announcement post for the detailed list of enhancements and updates.
Spinner Horizontal Buttons
A new theme definition option has been added to support arranging the ButtonSpinner and NumericUpDown buttons horizontally instead of vertically. A horizontal arrangement uses more space but is more touch-friendly. Our sample project also shows how this option can be updated for certain user interface densities only, such as Spacious.
User Interface Density Updates
Our previous v23.1.1 release added a new user interface density feature that allowed controls and views to dynamically adjust spacing based on a density setting. This feature was a real gamechanger and works very well, however it was discovered that the parsing of numeric values in our new XAML markup extensions wasn't always utilizing invariant culture. Therefore, on some systems with non-English cultures, numbers were parsed incorrectly and spacing was far too large. This issue has been corrected in this maintenance release.
Trimming and Native AOT (Ahead-of-Time)
Avalonia support native ahead-of-time compilation, which means an app is compiled to native code. Native AOT apps have faster startup time and smaller memory footprints. They also attempt to "trim" unused APIs to minimize the app's codebase.
For this maintenance release, we made a number of updates that help support trimming and native AOT.