diff options
author | U-DESKTOP-8OSNV7R\DrRobotto <andreas.heinisch@yahoo.de> | 2019-12-31 18:35:10 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-01-01 19:20:55 +0100 |
commit | 83955c30405b086fb9b753f2734827c63e951c91 (patch) | |
tree | 0af62911fdc60241ac8488268606ed8932e19573 | |
parent | fcf1e5b44429ce639cdd0f10def92a9d1822a0b1 (diff) |
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@gmail.com>
Tested-by: Jenkins
-rwxr-xr-x[-rw-r--r--] | basctl/source/basicide/basides1.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 3e2b585ad320..79c809927fb2 100644..100755 --- 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 ); |