Hi,
I have submitted a patch for review:
    https://gerrit.libreoffice.org/2612
To pull it, you can do:
    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/12/2612/1
Make ComboBox::CalcSize to return the right width
Change-Id: I83f5075281b2edd3f7a5e94709f0529d0c744ff8
---
M vcl/source/control/combobox.cxx
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index e561768..c216cd0 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -1146,6 +1146,8 @@
             aSz.Width() += GetSettings().GetStyleSettings().GetScrollBarSize();
     }
 
+    aSz.Width() += ImplGetExtraOffset() * 2;
+
     aSz = CalcWindowSize( aSz );
     return aSz;
 }
-- 
To view, visit https://gerrit.libreoffice.org/2612
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I83f5075281b2edd3f7a5e94709f0529d0c744ff8
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Zolnai Tamás <zolnaitamas2000@gmail.com>
Context
- [PATCH] Make ComboBox::CalcSize to return the right width · via Code Review
 
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.