[Winforms] Always draw at least one line of a Label. (#18422)
commit4ee4d368c649e024b516cb26245d9bdd14baa1df
authorKarl <5079870+PreferLinux@users.noreply.github.com>
Mon, 13 Jan 2020 16:12:36 +0000 (14 05:12 +1300)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 13 Jan 2020 16:12:36 +0000 (13 17:12 +0100)
tree5595251c8c37faf09005ea819997840df2bf01f3
parent42956f554bf18dbfbc5f30e4d74f1c54df15f0b4
[Winforms] Always draw at least one line of a Label. (#18422)

Previously, if the Label wasn't quite high enough nothing would be drawn as the line didn't quite fit. It should draw the line anyway, clipped if necessary.
mcs/class/System.Windows.Forms/System.Windows.Forms.Theming/Default/LabelPainter.cs