Skip to content

1.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 May 22:51

Changes:

  • Major Layout System Revamp. Previously Myra used global coordinates only. And the property Widget.Bounds was relative to the screen. Now Widget.Bounds is zero-based. Two new methods had been added - Widget.ToGlobal and Widget.ToLocal - to convert between global screen and local widget coordinates.
  • New Property Widget.Scale. It allows to set Scale for individual widgets. Also it is possible to set the scale for the whole Desktop(see Desktop.Scale).

Closed Issues:

  • #328 - Feature Request: Widget.Scale property
  • #336 - Refactoring: Make Widget.Bounds relative to container rather than absolute
  • #352 - Issue with the cursor when using a FontEffect.