[MWF] Improve ellipsis handling
authorEberhard Beilharz <eb1@sil.org>
Thu, 16 Oct 2014 12:03:04 +0000 (14:03 +0200)
committerEberhard Beilharz <eb1@sil.org>
Fri, 24 Oct 2014 20:38:56 +0000 (22:38 +0200)
commit5d869be79424a314362c331ec125a3d61378f176
tree554c2a113672a3ac776d514a1b5eaa9ed449a556
parentab361102dbc30326eacbe52ecdcea16476f94488
[MWF] Improve ellipsis handling

- Don't subtract room for ellipsis. Ellipsis should be
  handled by the renderer so we shouldn't reserve space for it.
  Otherwise we end up not getting ellipsis (because the renderer
  thinks there is enough space available), or we don't use up the
  available space.
- Don't allow text to go below button if we want to show ellipsis.
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextRenderer.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs