Releases: MyraUI/Myra
Release list
1.6.5
New features
- WrapPanel (PR #522). A new container that arranges its children in a sequence and wraps them to a new row (or column) when they no longer fit the available space: https://myraui.github.io/Myra/docs/wrap-panel.html
Credit goes to @yuval-po and @bittiez - MyraPad: C# export fields visibility (Fixes #540). Added an option to choose the visibility (public, protected or private) of the fields generated when exporting a project to C# (
ExportOptions.FieldsVisibility).
- DataGrid: various fixes and improvements
Documentation
- Added docfx pages for
MyraEnvironment: https://myraui.github.io/Myra/docs/myra-environment.html
1.6.4
DataGrid Improvements
Added new column types: DataGridCheckBoxColumn, DataGridImageColumn.
Also new sample demonstrating it:

https://github.com/MyraUI/Myra/tree/master/samples/Myra.Samples.TextureAtlasViewer
1.6.3
New Widget: DataGrid
It allows to work with the large datasets. Supports sorting, column resizing and filtering.
myraDataGrid.mp4
Docs: https://myraui.github.io/Myra/docs/data-grid.html
New Samples
DataGrid
Shown above.
Link: https://github.com/MyraUI/Myra/tree/master/samples/Myra.Samples.DataGrid
CustomWidgets.SkiaSharp
Demonstrates how SkiaSharp could be integrated into Myra.
Link: https://github.com/MyraUI/Myra/tree/master/samples/Myra.Samples.CustomWidgets.SkiaSharp
CustomWidgets.ScottPlot
Demonstrates how ScottPlot(a charting library) could be integrated into Myra.
Link: https://github.com/MyraUI/Myra/tree/master/samples/Myra.Samples.CustomWidgets.ScottPlot
CustomWidgets.NvgSharp
Demonstrates how NvgSharp could be integrated into Myra.
Link: https://github.com/MyraUI/Myra/tree/master/samples/Myra.Samples.CustomWidgets.NvgSharp
Minor API Changes
Removed property Label.SingleLine, since it basically mirrors !Label.Wrap.
Bug Fixes
1.6.2
1.6.1
Edit Stylesheets in MyraPad
Now it's possible to edit stylesheets right in the MyraPad.
If the ui project references custom stylesheet. Then the Stylesheet tab app appear, where it could be edit. And when you do File/Save, then both the ui project and the referenced stylesheet will be saved.
The stylesheet editor shows only styles present in the stylesheet, if some widget style doesn't exist, add it manually to the xmms, like this
<PanelStyles>
<WidgetStyle />
</PanelStyles>In this video, we reference a stylesheet, then change color of labels and image of checkboxes:
myraPadEditStylesheet.mp4
New MyraPad Image Editor
The new image editor allows to change brushes and images to the ui project's stylesheet's texture atlas's images. Also it's possible to customize the color tint.
In this video, we set Image's Renderable to the image from the stylesheet, then modify the color tint:
myraPadNewImageEditor.mp4
New MyraPad Font Editor
There's new font editor too. Now it can also references the stylesheet fonts. If the stylesheet font is ttf(and the default stylesheet font is), then it is possible to modify the size too.
In this video, we set Label Font to the default stylesheet "tooltip-font", then modify its size to 32:
myraPadNewFontEditor.mp4
Styleable Containers
All containers(Grid, Panel, HorizontalStackPanel and VerticalStackPanel) are now styleable. You could set their style either through the code, or through the xmms.
New Tool: MyraViewer
It is small utility to view the xmmp files: https://myraui.github.io/Myra/docs/MyraViewer.html
Major Code Refactor
I am aware that some people fork Myra in order to adapt it to their needs. It should be easier now, since the whole code was refactored in order to become cleaner and simplier. Particularly code that does the style and the MML serialization code was affected.
New Repo That Stores Custom Stylesheets
1.6.0
New Event System
New event system that allows choosing the event propagation strategy. Also the event propagation could be stopped at any moment.
See new docs for details: https://rds1983.github.io/Myra/docs/event-system.html
Credit goes to @aneteanetes
MyraPad Became the Dotnet Tool
See new docs: https://rds1983.github.io/Myra/docs/MyraPad.html
New Samples
Added two new samples, demonstrating creation of the custom widgets.
Also there's new docs page, describing all samples: https://rds1983.github.io/Myra/docs/samples.html
Removed Obsolete Stuff
1.5.11
Overview
The new release has some bugfixes & refactoring.
And a pair of new MyraPad features.
New MyraPad Feature: Export To C# Light
Allows to instantly convert the edited MML to the C# code
myra17.mp4
New MyraPad Feature: Create Widgets By Right-Clicking on Explorer
myra18.mp4
1.5.10
- Merged many PRs from @Newbilius and @Bamboy
- Added small new feature for the PropertyGrid. If new attribute Range applied to numeric property, then the PropertyGrid won't allow it to go beyound the defined bounds. Example code of the attribute usage:
[Range(0.0f, 1.0f)]
public float Opacity { get;set; }