You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
On GTK and WinForms, but not WPF (I can't check Mac) setting a Label to WrapMode.None also enables single line mode. There's no way to disable wrap but still allow multiple lines.
This is in contradiction to the documentation which states "Regardless of the mode, you can always add hard wraps by inserting newline characters."
Hi,
On GTK and WinForms, but not WPF (I can't check Mac) setting a Label to WrapMode.None also enables single line mode. There's no way to disable wrap but still allow multiple lines.
This is in contradiction to the documentation which states "Regardless of the mode, you can always add hard wraps by inserting newline characters."
Eto/src/Eto/Forms/Controls/Label.cs
Line 30 in 86f8ba2
Eto/src/Eto.Gtk/Forms/Controls/LabelHandler.cs
Line 155 in 86f8ba2
Eto/src/Eto.WinForms/Forms/Controls/LabelHandler.cs
Line 198 in 86f8ba2
Expected Behavior
Label with WrapMode.None should not restrict the text to a single line.
Actual Behavior
Text with new lines is all shown on the same line due to the SingleLineMode being enabled.
Steps to Reproduce the Problem
Code that Demonstrates the Problem
Specifications
The text was updated successfully, but these errors were encountered: