Index: xfa/fwl/core/cfwl_checkbox.cpp |
diff --git a/xfa/fwl/core/cfwl_checkbox.cpp b/xfa/fwl/core/cfwl_checkbox.cpp |
index 5b147bd55a9d7686bce960c64e53fb0a10daa670..4183551f68df61bc0e69bbe1e13c50bf65ec7dcd 100644 |
--- a/xfa/fwl/core/cfwl_checkbox.cpp |
+++ b/xfa/fwl/core/cfwl_checkbox.cpp |
@@ -70,7 +70,7 @@ void CFWL_CheckBox::GetWidgetRect(CFX_RectF& rect, bool bAutoSize) { |
rect.width += m_fBoxHeight; |
rect.height = std::max(rect.height, m_fBoxHeight); |
- CFWL_Widget::GetWidgetRect(rect, true); |
+ InflateWidgetRect(rect); |
} |
void CFWL_CheckBox::Update() { |