Bug 60514 - DataGridViewTextBoxCell.Paint ignores padding
Summary: DataGridViewTextBoxCell.Paint ignores padding
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: master
Hardware: PC All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-11-03 12:36 UTC by Yuriy Grigorchuk
Modified: 2017-11-15 12:50 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Test source (2.36 KB, text/plain)
2017-11-10 15:13 UTC, Yuriy Grigorchuk
Brocken padding scceenshot (7.35 KB, image/png)
2017-11-10 15:16 UTC, Yuriy Grigorchuk
Proper padding screenshot (2.79 KB, image/png)
2017-11-10 15:17 UTC, Yuriy Grigorchuk

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Yuriy Grigorchuk 2017-11-03 12:36:11 UTC
Method DataGridViewTextBoxCell.Paint takes parameter DataGridViewCellStyle. DataGridViewCellStyle has Padding property which is not used.
Comment 1 Yuriy Grigorchuk 2017-11-10 15:13:36 UTC
Created attachment 25639 [details]
Test source
Comment 2 Yuriy Grigorchuk 2017-11-10 15:16:16 UTC
Created attachment 25640 [details]
Brocken padding scceenshot
Comment 3 Yuriy Grigorchuk 2017-11-10 15:17:25 UTC
Created attachment 25641 [details]
Proper padding screenshot
Comment 4 Alexander Köplinger [MSFT] 2017-11-15 12:50:37 UTC
Pull request https://github.com/mono/mono/pull/5985 was merged, thanks!