[Mono-dev] Review of PR #1348 - [MWF] Improve button text layout
Eberhard Beilharz
eb1 at sil.org
Tue Oct 21 08:03:28 UTC 2014
Hi,
I'm working on some improvements on the experimental Pango rendering
support (see my pull request
<https://github.com/mono/libgdiplus/pull/27> in libgdiplus for details).
In doing so I came across some deficiencies in the MWF code that aren't
noticeable with the current Cairo rendering.
The changes in PR #1348 improve the measuring and layout of button texts
by not applying padding twice and using the full available height for
button texts in the case where we have to reduce the width.
The changes won't make much of a difference with the current Cairo
rendering but make things work right with the experimental Pango renderer.
https://github.com/mono/mono/pull/1348
Thanks,
Eberhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141021/7e9dd4c8/attachment-0001.html>
More information about the Mono-devel-list
mailing list