From 7bab361a63a3b45f3a52cd9045da3deb83aae3f5 Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Fri, 9 Mar 2018 16:43:50 -0800 Subject: [PATCH] Add convenience ctor --- Ooui/Label.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Ooui/Label.cs b/Ooui/Label.cs index ca27a15..8bb063b 100644 --- a/Ooui/Label.cs +++ b/Ooui/Label.cs @@ -13,5 +13,12 @@ namespace Ooui : base ("label") { } + + public Label (string text) + : this () + { + Text = text; + } + } }