diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-09-13 22:52:56 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-09-16 23:45:10 +0200 |
commit | 066c7cc53b51d16b9230b5eef2a09b90b2c0adfd (patch) | |
tree | 149293b2f0a7bb5f085d5600b5b3bb4d4e132b09 /sc/source | |
parent | 8702519ddda114f11380c8bbeaf14c6c8f179693 (diff) |
sc: adjust tab height a bit
Change-Id: I82b20bb7f17b59fdd925d3e5da95b63c2839bda7
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 1b2520b0db31..40c41d55055b 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -53,8 +53,10 @@ #include <basegfx/tools/zoomtools.hxx> -#define SPLIT_MARGIN 30 -#define SPLIT_HANDLE_SIZE 5 +#define SPLIT_MARGIN 30 +#define SPLIT_HANDLE_SIZE 5 +#define WIDTH_MARGIN 5 + #define SC_ICONSIZE 36 using namespace ::com::sun::star; @@ -340,7 +342,7 @@ void ScTabView::DoResize( const Point& rOffset, const Size& rSize, bool bInner ) const StyleSettings& rStyleSettings = pFrameWin->GetSettings().GetStyleSettings(); - sal_Int32 nTabWidth = pFrameWin->GetFont().GetHeight() + 4; + sal_Int32 nTabWidth = pFrameWin->GetFont().GetHeight() + WIDTH_MARGIN; if ( aViewData.GetHSplitMode() != SC_SPLIT_NONE ) { |