diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-06 08:01:25 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-06 08:01:25 +0100 |
| commit | 6577bc6e136c7440117bd7bb49cb4a4fd3fbcfa3 (patch) | |
| tree | cf104fa3c2430f286848133cf1c20d7b34382581 /src/GraphicObjects/Label.cs | |
| parent | 643d44f381962d6814d3676cee322c41018406eb (diff) | |
use LayoutingType Enum everywhere instead of casting to (int)
Diffstat (limited to 'src/GraphicObjects/Label.cs')
| -rw-r--r-- | src/GraphicObjects/Label.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/Label.cs b/src/GraphicObjects/Label.cs index d8d214c7..08e7211a 100644 --- a/src/GraphicObjects/Label.cs +++ b/src/GraphicObjects/Label.cs @@ -105,7 +105,7 @@ namespace Crow lines = getLines; this.registerForGraphicUpdate (); - this.RegisterForLayouting ((int)LayoutingType.Sizing); + this.RegisterForLayouting (LayoutingType.Sizing); NotifyValueChanged ("Text", _text); } } |