diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-03-21 08:53:31 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-04-14 12:44:46 +0200 |
| commit | 0b005fefe69b67bf335c3c00944bbac73e8b4831 (patch) | |
| tree | 6fef2ccda18e6ae0e26a9f890341c8dacb84e9c5 /src/GraphicObjects/TextRun.cs | |
| parent | b7bd81982e6313237e4062148612f1d27c09f2df (diff) | |
remove Bounds rectangle as private field for dims
Diffstat (limited to 'src/GraphicObjects/TextRun.cs')
| -rw-r--r-- | src/GraphicObjects/TextRun.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/TextRun.cs b/src/GraphicObjects/TextRun.cs index 15f024af..021d5654 100644 --- a/src/GraphicObjects/TextRun.cs +++ b/src/GraphicObjects/TextRun.cs @@ -206,7 +206,7 @@ namespace Crow //ignore text alignment if size to content = true //or if text size is larger than client bounds - if (Bounds.Size < 0 || rText.Width > cb.Width) + if (Width < 0 || Height < 0 || rText.Width > cb.Width) { rText.X = cb.X; rText.Y = cb.Y; |