* Fixed key events traversal for modal dialogs
The key must be propagated initially to the first chain element
before evaluating if we should stop because of the handled or
the Modal condition. Otherwise the modal dialog
won't get any process key notification.
This fixes c072e29a68
* Resizing the MessageBox width to accommodate all message text
Co-authored-by: Adrian Alonso <adrianalonso@gmail.com>
* Unify projects in SDK-style and PackageReference
* Add a note on the known issue about dlls not being copied
* Bump CI to a more recent stable version of Mono
This adds support for .net472, the first version of .NET
with full support for netstandard2.0
The ustring stores strings in Utf8 format which is variable encoding,
and I was mixing code that assumed that indexes into Utf8 were valid
rune indexes.
This normalizes point to be based on the rune index, not the offset
into the storage, so we need to do some processing to get this
information right. It might make sense perhaps to "Explode" the string
into a List<Rune> rather than try to manipualte the ustring, but this
should work for now.
Also, fixed the positioning code, and the drawing code for this, should
fix the reported issue that came up in a pull request:
https://github.com/migueldeicaza/gui.cs/pull/90