| Index: xfa/fwl/core/cfwl_spinbutton.cpp
|
| diff --git a/xfa/fwl/core/cfwl_spinbutton.cpp b/xfa/fwl/core/cfwl_spinbutton.cpp
|
| index 03ec5afdf8a5e8727f76d79ac9044a815ff3801d..43229d9c9e4e3cdcdf67ee893b5a5f8e8c940c98 100644
|
| --- a/xfa/fwl/core/cfwl_spinbutton.cpp
|
| +++ b/xfa/fwl/core/cfwl_spinbutton.cpp
|
| @@ -49,14 +49,14 @@ FWL_Type CFWL_SpinButton::GetClassID() const {
|
| return FWL_Type::SpinButton;
|
| }
|
|
|
| -void CFWL_SpinButton::GetWidgetRect(CFX_RectF& rect, bool bAutoSize) {
|
| - if (!bAutoSize) {
|
| - rect = m_pProperties->m_rtWidget;
|
| - return;
|
| - }
|
| +CFX_RectF CFWL_SpinButton::GetWidgetRect(bool bAutoSize) {
|
| + if (!bAutoSize)
|
| + return m_pProperties->m_rtWidget;
|
|
|
| + CFX_RectF rect;
|
| rect.Set(0, 0, kMinWidth, kMinHeight);
|
| InflateWidgetRect(rect);
|
| + return rect;
|
| }
|
|
|
| void CFWL_SpinButton::Update() {
|
|
|