[MWF] Fix clipping of last line of dropdown (#2462)
authorEberhard Beilharz <eb1@sil.org>
Tue, 10 Jan 2012 14:08:01 +0000 (15:08 +0100)
committerEberhard Beilharz <eb1@sil.org>
Thu, 13 Mar 2014 15:53:27 +0000 (16:53 +0100)
commit41ee671083985b1cc3d257209bf5303cbc835c96
treefde94cd0cc3714ad3bbcf41fdb7be4c4b4ab853a
parent060c0c67c088c3a61d7f2960843745d092f0e4a1
[MWF] Fix clipping of last line of dropdown (#2462)

The height we calculate is the inner height, so we need to add the top
and bottom borders when setting the height of the listbox. The width
however is the outer width so we need to subtract the left and right
borders when setting the client width.
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs