diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-17 01:07:40 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-17 01:07:40 +0100 |
| commit | 7e1fde10929505c741a86cba3cc7643bc149a498 (patch) | |
| tree | e2db6f1152a33c0f70c398bf88492bf14c4e3c8f /src/GraphicObjects/Label.cs | |
| parent | a8a5562df0358b314197f3685fc7622ecfd307d0 (diff) | |
debug text sizing
Diffstat (limited to 'src/GraphicObjects/Label.cs')
| -rw-r--r-- | src/GraphicObjects/Label.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/Label.cs b/src/GraphicObjects/Label.cs index dd5b89e2..ad6549a1 100644 --- a/src/GraphicObjects/Label.cs +++ b/src/GraphicObjects/Label.cs @@ -370,8 +370,8 @@ namespace Crow //gr.FontOptions.Antialias = Antialias.Subpixel; //gr.FontOptions.HintMetrics = HintMetrics.On; - rText = new Rectangle( - measureRawSize(LayoutingType.Width), measureRawSize(LayoutingType.Height)); + rText = new Rectangle(new Size( + measureRawSize(LayoutingType.Width), measureRawSize(LayoutingType.Height))); rText.Width -= 2 * Margin; rText.Height -= 2 * Margin; |