[SWF] Fix string drawing truncation in combo boxes
authorEberhard Beilharz <eb1@sil.org>
Wed, 16 Aug 2017 18:33:18 +0000 (12:33 -0600)
committerMarek Safar <marek.safar@gmail.com>
Thu, 17 Aug 2017 08:33:18 +0000 (10:33 +0200)
This fixes Xamarin-10321. This change fixes the problem in SWF rather
than in libgdiplus which has the advantage that it works with both
Cairo and Pango renderers.

Without the additional NoWrap flag the text will wrap at a word boundary,
which results in the combo box showing lines with potentially a lot of
empty space at the end. With the NoWrap flag we render only one line,
displaying as many characters as possible in that one line.


No differences found