Add convenience ctor to Span

This commit is contained in:
Frank A. Krueger 2017-06-16 00:07:47 -07:00
parent 522e169631
commit 519eccc012
1 changed files with 6 additions and 0 deletions

View File

@ -8,5 +8,11 @@ namespace Ooui
: base ("span") : base ("span")
{ {
} }
public Span (string text)
: this ()
{
Text = text;
}
} }
} }