picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.52k stars 319 forks source link

Mac: Fix Rich/TextArea to show text when initially shown. #2631

Closed cwensley closed 4 months ago

cwensley commented 4 months ago

Initially Eto used some hacks during PerformLayout to ensure the control shrinks properly when wrapping is turned on while loaded. Turns out that just causes issues (it has in the past too) so now we set the control and text container size when turning on wrapping and the control is loaded. We also set HorizontallyResizable to false when wrapping is on which should have been set to begin with when we want wrapping.

Fixes #2617