From 2d59c0c940ac61240992502256c966b2cb4f9daa Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Sun, 4 Jan 2015 02:10:44 +0100 Subject: changes sidebar: Make the "Action" narrower when we use bitmaps now. Change-Id: I6ccf65308b7339768e9e0cc3c0b43fefc926f7e8 --- svx/source/dialog/ctredlin.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'svx') diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index b39052ba7e0d..586077f1a404 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -387,9 +387,6 @@ SvxTPView::SvxTPView(vcl::Window *pParent, VclBuilderContainer *pTopLevel) m_pReject->SetClickHdl(aLink); m_pRejectAll->SetClickHdl(aLink); m_pUndo->SetClickHdl(aLink); - - const long pTabs[] = { 5, 10, 65, 120, 170, 220 }; - m_pViewData->SetTabs(pTabs); } void SvxTPView::ActivatePage() @@ -419,6 +416,9 @@ SvxTPView::~SvxTPView() void SvxTPView::InsertWriterHeader() { + const long pTabs[] = { 5, 10, 20, 70, 120, 170 }; + m_pViewData->SetTabs(pTabs); + OUString aStrTab('\t'); OUString aString(get("action")->GetText()); aString += aStrTab; @@ -433,6 +433,9 @@ void SvxTPView::InsertWriterHeader() void SvxTPView::InsertCalcHeader() { + const long pTabs[] = { 5, 10, 65, 120, 170, 220 }; + m_pViewData->SetTabs(pTabs); + OUString aStrTab('\t'); OUString aString(get("action")->GetText()); aString += aStrTab; -- cgit