[Mono-dev] PR #1442 - [MWF] Fix problem when button text overlaps image

Eberhard Beilharz eb1 at sil.org
Fri Dec 5 16:36:42 UTC 2014


In some circumstances the text on a button gets drawn in the wrong
position. When the button has ImageAboveText.ImageAboveText set and the
text is too long to fit under the image it might get drawn at the top
instead overlapping the image from the bottom. Note that I couldn't
reproduce this problem with a stock mono, only on a mono that includes
patched versions of libgdiplus and gtksharp, but that the code I changed
looks clearly wrong and fixes the problem.

https://github.com/mono/mono/pull/1442

Thanks,
    Eberhard


More information about the Mono-devel-list mailing list