Skip to content

Commit 988b10e

Browse files
author
dima.am
committed
InternalArrange fix for new _singleLine option
1 parent 6e33052 commit 988b10e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Myra/Graphics2D/UI/Simple/Label.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ protected override void InternalArrange()
290290
}
291291
else
292292
{
293-
_richText.Width = _wrap ? ActualBounds.Width : default(int?);
294-
_richText.Height = _wrap ? ActualBounds.Height : default(int?);
293+
_richText.Width = default(int?);
294+
_richText.Height = default(int?);
295295
}
296296
}
297297

0 commit comments

Comments
 (0)