diff options
Diffstat (limited to 'vcl/source/control/combobox.cxx')
-rw-r--r-- | vcl/source/control/combobox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 841a65f11cdc..9d04b7a2e30f 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -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(); } |