basctl/source/basicide/basides1.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 83955c30405b086fb9b753f2734827c63e951c91 Author: U-DESKTOP-8OSNV7R\DrRobotto <andreas.heini...@yahoo.de> AuthorDate: Tue Dec 31 18:35:10 2019 +0100 Commit: Tomaž Vajngerl <qui...@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 <qui...@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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits