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

user32: Make sure there is space for at least 6 items in a combo dropdown…

user32: Make sure there is space for at least 6 items in a combo dropdown without forcing it to be at most 6 items as well.
parent 63d2d041
......@@ -1107,7 +1107,7 @@ static void CBDropDown( LPHEADCOMBO lphc )
{
if (nItems < 5)
nDroppedHeight = (nItems+1)*nIHeight;
else
else if (nDroppedHeight < 6*nIHeight)
nDroppedHeight = 6*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