Fixed a bug with combo boxes where only 1 items was being displayed.
This commit is contained in:
parent
a817568231
commit
bec403f6df
|
@ -1210,9 +1210,9 @@ static void CBDropDown( LPHEADCOMBO lphc )
|
|||
if (nDroppedHeight < nIHeight)
|
||||
{
|
||||
if (nItems < 5)
|
||||
nDroppedHeight = nHeight;
|
||||
nDroppedHeight = (nItems+1)*nIHeight;
|
||||
else
|
||||
nDroppedHeight = 5*nIHeight;
|
||||
nDroppedHeight = 6*nIHeight;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue