[Mono-dev] Review of PR #1348 - [MWF] Improve button text layout
eb1 at sil.org
Tue Oct 21 08:03:28 UTC 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list