Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2013-12-04 20:13:04 +0400
committerLluis Sanchez <lluis@xamarin.com>2013-12-05 12:27:39 +0400
commit1fa4f9abea56e383d82de6dd699b98131ed1e9b8 (patch)
tree14e8011957842b13f5b1f04e655a24a13b3b592f /Xwt.Mac
parentbcd4c7d14ee8bd0d4d5ebf2bcedce8bb8c8f177a (diff)
[Mac] Label must have an empty string by default
Diffstat (limited to 'Xwt.Mac')
-rw-r--r--Xwt.Mac/Xwt.Mac/LabelBackend.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xwt.Mac/Xwt.Mac/LabelBackend.cs b/Xwt.Mac/Xwt.Mac/LabelBackend.cs
index 2425e9a1..f0fb800b 100644
--- a/Xwt.Mac/Xwt.Mac/LabelBackend.cs
+++ b/Xwt.Mac/Xwt.Mac/LabelBackend.cs
@@ -43,6 +43,7 @@ namespace Xwt.Mac
protected LabelBackend (IViewObject viewObject)
{
ViewObject = new CustomAlignedContainer ((NSView)viewObject);
+ Widget.StringValue = string.Empty;
Widget.Editable = false;
Widget.Bezeled = false;
Widget.DrawsBackground = false;