diff options
-rw-r--r-- | vcl/source/control/spinfld.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx index 40c2954dc91b..395b0c214db4 100644 --- a/vcl/source/control/spinfld.cxx +++ b/vcl/source/control/spinfld.cxx @@ -715,7 +715,9 @@ void SpinField::Resize() // adjust position and size of the edit field if (GetNativeControlRegion(ControlType::Spinbox, ControlPart::SubEdit, aArea, ControlState::NONE, - aControlValue, OUString(), aBound, aContent)) + aControlValue, OUString(), aBound, aContent) && + // there is just no useful native support for spinfields with dropdown + !(GetStyle() & WB_DROPDOWN)) { // convert back from border space to local coordinates aPoint = pBorder->ScreenToOutputPixel(OutputToScreenPixel(aPoint)); |