Kaydet (Commit) 2d59c0c9 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

changes sidebar: Make the "Action" narrower when we use bitmaps now.

Change-Id: I6ccf65308b7339768e9e0cc3c0b43fefc926f7e8
üst 5badba20
......@@ -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;
......
......@@ -191,13 +191,6 @@ SwRedlineAcceptDlg::SwRedlineAcceptDlg(vcl::Window *pParent, VclBuilderContainer
pTable->SetSelectionMode(MULTIPLE_SELECTION);
pTable->SetHighlightRange(1);
static long aStaticTabs[]=
{
4,10,70,120,170
};
pTable->SetTabs(aStaticTabs);
pTable->SortByCol(nSortMode, bSortDir);
aOldSelectHdl = pTable->GetSelectHdl();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment