Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

resize for width reacts on fixedwidth texts

  • Loading branch information...
commit 9d3516bfc064db0e93ba2348c7050fdb7d8d3d20 1 parent 2ce7c2c
cail authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Fleux/UIElements/TextElement.cs
3  Fleux/UIElements/TextElement.cs
View
@@ -73,7 +73,8 @@ public string Text
public override void ResizeForWidth(int width)
{
if (this.AutoSizeMode == AutoSizeModeOptions.WrapText ||
- this.AutoSizeMode == AutoSizeModeOptions.OneLineAutoHeight)
+ this.AutoSizeMode == AutoSizeModeOptions.OneLineAutoHeight ||
+ this.AutoSizeMode == AutoSizeModeOptions.OneLineAutoHeightFixedWidth)
{
this.Size = new Size(width, 10); // Height will be calculated later
try
Please sign in to comment.
Something went wrong with that request. Please try again.