mono / xwt

A cross-platform UI toolkit for creating desktop applications with .NET and Mono

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[XamMac] Truncated items in ListBox on High Sierra when adding after initial display

xecrets opened this issue · comments

Creating a ListBox, adding items and displaying works fine. Adding items after initial display causes longer items to be visually truncated to the length of the shortest item in the list at the time. For example removing all items, and then adding an item causes it to be truncated completely.

A complete sample application demonstrating the behavior is included, build with Visual Studio 2017 and run on macOS High Sierra. A not-very-tasteful workaround is also included.

Built and run with Xwt 0.2.60

ListBoxHighSierra.zip

Thanks for reporting. I forgot to remove the deprecated sizing code there.