Skip to content

0.9.9.198

Compare
Choose a tag to compare
@rds1983 rds1983 released this 29 Feb 12:25

New Features:

  • Margin, Border, Padding
  • New property Desktop.Root
    Now instead of this code:
      Desktop.Widgets.Clear();
      Desktop.Widgets.Add(_myPanel);
    It is possible to write:
      Desktop.Root = _myPanel;
  • New Sample ObjectEditor that demonstrates how PropertyGrid widget could be used as in-game object editor:
    Scp1gUv4uZ

API Changes:

  • Text format command now use square brackets instead of figure brackets, in order to ease usage of this feature along with String.Format. So text with commands like this:
This is \c{red}colored \c{#00f0fa}text, \c{white}color could be set either \c{lightGreen}by name or \c{#fa9000}by hex code

should be rewritten to

This is \c[red]colored \c[#00f0fa]ext, \c[white]color could be set either \c[lightGreen]by name or \c[#fa9000]by hex code

Closed Issues:
#170 - Notepad Sample: Make default text way smaller
#171 - Box Model (Padding, Border, Margin)
#172 - Opening a combobox does not focus the dropdown list
#174 - New Sample: Object Editor
#175 - Feature Request: Desktop.Root property
#176 - Stop using HorizontalAlignment.Stretch and VerticalAlignment.Stretch as default value for non-container widgets
#178 - Replace '{}' with '[]' in text commands
#179 - Cache FormattedText.Measure