Skip to content

Releases: MyraUI/Myra

1.6.5

Choose a tag to compare

@rds1983 rds1983 released this 14 Aug 06:49

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).
image
  • DataGrid: various fixes and improvements

Documentation

1.6.4

Choose a tag to compare

@rds1983 rds1983 released this 05 Aug 07:56

DataGrid Improvements

Added new column types: DataGridCheckBoxColumn, DataGridImageColumn.
Also new sample demonstrating it:
image

https://github.com/MyraUI/Myra/tree/master/samples/Myra.Samples.TextureAtlasViewer

1.6.3

Choose a tag to compare

@rds1983 rds1983 released this 21 Jul 09:47

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

image

Demonstrates how SkiaSharp could be integrated into Myra.
Link: https://github.com/MyraUI/Myra/tree/master/samples/Myra.Samples.CustomWidgets.SkiaSharp

CustomWidgets.ScottPlot

image

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

image

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

  • #451 - AutoEllipsisMethod on Label not doing anything
  • #488 - Adding a font to the default stylesheet causes corrupt glyphs to draw

1.6.2

Choose a tag to compare

@rds1983 rds1983 released this 13 Jun 10:04

Some bug fixes and performance improvements.

1.6.1

Choose a tag to compare

@rds1983 rds1983 released this 09 Jun 14:18

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

https://github.com/MyraUI/MyraStylesheets

1.6.0

Choose a tag to compare

@github-actions github-actions released this 29 May 01:48

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

Choose a tag to compare

@github-actions github-actions released this 16 Mar 09:32

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

Choose a tag to compare

@github-actions github-actions released this 22 Nov 10:36
  • 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; }

1.5.9

Choose a tag to compare

@github-actions github-actions released this 26 Dec 20:05
Version 1.5.9

1.5.8

Choose a tag to compare

@github-actions github-actions released this 11 Dec 09:04

Some fixes