diff --git a/accelerate-sidebar.js b/accelerate-sidebar.js index ade405670..7cab55643 100644 --- a/accelerate-sidebar.js +++ b/accelerate-sidebar.js @@ -34,6 +34,7 @@ const sidebars = { 'tools/dev-tools/tools/metrics', ] }, + 'tools/dev-tools/shortcuts', { 'type': 'category', 'label': 'Advanced Tools', diff --git a/docs/guides/graphics-and-animation/how-to-use-icons.md b/docs/guides/graphics-and-animation/how-to-use-icons.md index 97361cb8a..d5f950fa8 100644 --- a/docs/guides/graphics-and-animation/how-to-use-icons.md +++ b/docs/guides/graphics-and-animation/how-to-use-icons.md @@ -10,7 +10,7 @@ In Avalonia, using icons in your user interface can help to improve the look of ## Using Icons in Avalonia -Icons can be added to your Avalonia application in various ways. This guide will cover two common methods: using image files and using icon fonts. +Icons can be added to your Avalonia application in various ways. This guide will cover three common methods: using image files, using icon fonts, and using path icons. ### Using Image Files One way to use icons in Avalonia is by using image files. You can use various formats like PNG, JPG, or BMP. Here's an example of how to use an image file as an icon: @@ -31,6 +31,10 @@ Another way to use icons in Avalonia is by using icon fonts. Icon fonts allow yo In this example, a `TextBlock` control is used to display an icon from the `FontAwesome` icon font. The `FontFamily` property of the `TextBlock` control is set to a resource URI that points to the font file, and the Text property is set to the Unicode value of the desired icon. +### Using Path Icons + +Path icons can draw icons from `Geometry` which includes using paths from the scalable vector graphics (SVG) format that can be customized with size and color. See the [reference](/docs/reference/controls/path-icon) for how to use this control. + ## Best Practices While using icons can enhance the usability of your application, it is important to use them wisely. Keep the following tips in mind when using icons: diff --git a/xpf/release-notes.md b/xpf/release-notes.md index 1f09f32eb..2932f233e 100644 --- a/xpf/release-notes.md +++ b/xpf/release-notes.md @@ -3,23 +3,44 @@ id: release-notes title: Release Notes --- -## XPF 1.5.3 +## XPF 1.6.0 (2026-01-19) + +* Avalonia version updated from 11.3.1 to 11.3.11 +* Major rework has been done in the following areas: + * Mouse capture and loss of capture + * Clipboard (bitmap support, custom formats, round-tripping) +* Added support for Ctrl+Click on macOS, F10 as system key +* Added support for System.Windows.Documents.Typography properties +* Added support for filter index in file dialogs +* Popup fixes (positioning, disabled when dialog shown) +* MessageBox functionality aligned with Windows (title, max size) +* Text fixes and improvements (line spacing, inline blocks, font loading and matching) +* Automation fixes and improvements +* DPI and scaling fixes and improvements- +* All log sinks made available + +Known issues: +* Switching tabs in TabControl does not invalidate UIA tree +* AvaloniaHost takes all input once focused +* Closing popup from its button might require an extra click + +## XPF 1.5.3 (2025-06-23) * Fix MediaContext to use Stopwatch instead of system clock * Adjust WinForms MessageBoxTheme * Enforce WPF LineSpacing -## XPF 1.5.2 +## XPF 1.5.2 (2025-06-09) * Limit the width of a MessageBox to 400px to closely follow the WIN32 behavior * Limit the MessageBox to 80% of the current screen's height * Update Avalonia to stable 11.3.1 -## XPF 1.5.1 +## XPF 1.5.1 (2025-05-21) * Change VB MsgBox default title to be identical to Windows -## XPF 1.5.0 +## XPF 1.5.0 (2025-05-07) * Apply TextAlignment to overflowed AVTextLine * BmpBitmapDecoderHandle - support 1-Bit BMP @@ -64,7 +85,7 @@ title: Release Notes * Implement OpenFolderDialog * Don't call win32 `GetCursorPos` in `Popup`. -## XPF 1.4.0 +## XPF 1.4.0 (2025-01-08) * Remove System.Configuration.ConfigurationManager usages * Fix ModifierKeys.MacControl value @@ -103,7 +124,7 @@ title: Release Notes * Use default WPF behavior if ALC support wasn't explicitly enabled * Adjust TextLine clipping when the line isn't collapsed -## XPF 1.3.0 +## XPF 1.3.0 (2024-08-12) * Enable ECDSA-based license keys * Fix multiple Geometry APIs @@ -165,7 +186,7 @@ title: Release Notes * Reset popup _positionInfo when creating a new win -## XPF 1.2.0 +## XPF 1.2.0 (2024-05-29) * Update ImageSharp * Make DragDrop handler work with any Control rather than TopLevel