Add convenience ctor to Span
This commit is contained in:
parent
522e169631
commit
519eccc012
|
@ -8,5 +8,11 @@ namespace Ooui
|
||||||
: base ("span")
|
: base ("span")
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Span (string text)
|
||||||
|
: this ()
|
||||||
|
{
|
||||||
|
Text = text;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue