summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-01-04 02:10:44 +0100
committerJan Holesovsky <kendy@collabora.com>2015-01-04 02:15:05 +0100
commit2d59c0c940ac61240992502256c966b2cb4f9daa (patch)
tree8dee717ae599123e7b1010b0ca4fe6c1b3dc467f /svx
parent5badba2028ebf3ce399ed659c78b3590f364c67e (diff)
changes sidebar: Make the "Action" narrower when we use bitmaps now.
Change-Id: I6ccf65308b7339768e9e0cc3c0b43fefc926f7e8
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/ctredlin.cxx9
1 files changed, 6 insertions, 3 deletions
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<FixedText>("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<FixedText>("action")->GetText());
aString += aStrTab;