Kaydet (Commit) b9326cf0 authored tarafından Caolán McNamara's avatar Caolán McNamara

improve optimal height of empty comboboxes

Change-Id: I481e079136ab0496ac79b60931bfce8509b4af23
üst 88fe7d13
......@@ -1114,7 +1114,7 @@ Size ComboBox::CalcMinimumSize() const
}
else
{
aSz.Height() = mpImplLB->CalcSize( 1 ).Height();
aSz.Height() = Edit::CalcMinimumSizeForText(GetText()).Height();
aSz.Width() = mpImplLB->GetMaxEntryWidth();
aSz.Width() += getMaxWidthScrollBarAndDownButton();
}
......
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