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.
This commit is contained in:
parent
63d2d041d9
commit
d0cf2342df
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue