[Libreoffice-commits] core.git: basctl/source

U-DESKTOP-8OSNV7RDrRobotto (via logerrit) logerrit at kemper.freedesktop.org
Wed Jan 1 18:21:36 UTC 2020


 basctl/source/basicide/basides1.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 83955c30405b086fb9b753f2734827c63e951c91
Author:     U-DESKTOP-8OSNV7R\DrRobotto <andreas.heinisch at yahoo.de>
AuthorDate: Tue Dec 31 18:35:10 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Wed Jan 1 19:20:55 2020 +0100

    tdf#126506 - Adjusted height margin of the tab bar
    
    Adjusted the height margin of the tab bar in the Basic IDE in order
    to reflect the new look of the TabBar from tdf#124572.
    
    Change-Id: I4fadec983405b05c7330f762f4ed2e12d3a40d27
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86048
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
    Tested-by: Jenkins

diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
old mode 100644
new mode 100755
index 3e2b585ad320..79c809927fb2
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -56,6 +56,8 @@
 #include <vcl/svapp.hxx>
 #include <vcl/weld.hxx>
 
+constexpr sal_Int32 TAB_HEIGHT_MARGIN = 10;
+
 namespace basctl
 {
 
@@ -1329,7 +1331,7 @@ void Shell::AdjustPosSizePixel( const Point &rPos, const Size &rSize )
         return;
 
     Size aTabBarSize;
-    aTabBarSize.setHeight( GetViewFrame()->GetWindow().GetFont().GetFontHeight() + 4 );
+    aTabBarSize.setHeight( GetViewFrame()->GetWindow().GetFont().GetFontHeight() + TAB_HEIGHT_MARGIN );
     aTabBarSize.setWidth( rSize.Width() );
 
     Size aSz( rSize );


More information about the Libreoffice-commits mailing list