Commit ea60a508 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

user32: We are calculating the height for the drop down based on

number of items however the if statement used nIHeight (just the height of 1 item) and not nHeight (the height all the items).
parent 94ee8e8f
......@@ -1116,7 +1116,7 @@ static void CBDropDown( LPHEADCOMBO lphc )
if (nHeight < nDroppedHeight - COMBO_YBORDERSIZE())
nDroppedHeight = nHeight + COMBO_YBORDERSIZE();
if (nDroppedHeight < nIHeight)
if (nDroppedHeight < nHeight)
{
if (nItems < 5)
nDroppedHeight = (nItems+1)*nIHeight;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment