summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-20 16:38:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-20 16:39:22 +0000
commitdd9336e89f809712b86f596f796cef6125917fff (patch)
treec5196179e48155c3362fc9b8283ec2ad96ea4ec5 /cui/source/tabpages
parenta1234aa42f6d1a5cbfde23682946a14fddb4652e (diff)
make top of format->background align with the other tabs
Change-Id: I11c6271ebee62938f89c03c82e02adc2e0d3a1f4
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/backgrnd.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 5631316770d0..5d155555a3c9 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -351,6 +351,7 @@ SvxBackgroundTabPage::SvxBackgroundTabPage(Window* pParent, const SfxItemSet& rC
, pTableBck_Impl(NULL)
, pParaBck_Impl(NULL)
{
+ get(m_pAsGrid, "asgrid");
get(m_pSelectTxt, "asft");
get(m_pLbSelect, "selectlb");
get(m_pTblDesc, "forft");
@@ -1104,6 +1105,7 @@ void SvxBackgroundTabPage::ShowSelector()
{
if( bAllowShowSelector)
{
+ m_pAsGrid->Show();
m_pSelectTxt->Show();
m_pLbSelect->Show();
m_pLbSelect->SetSelectHdl( HDL(SelectHdl_Impl) );
@@ -1622,6 +1624,7 @@ void SvxBackgroundTabPage::ShowTblControl()
m_pTblLBox->SelectEntryPos(0);
m_pTblDesc->Show();
m_pTblLBox->Show();
+ m_pAsGrid->Show();
}
//-----------------------------------------------------------------------
@@ -1630,10 +1633,11 @@ void SvxBackgroundTabPage::ShowParaControl(sal_Bool bCharOnly)
{
m_pParaLBox->SetSelectHdl(HDL(ParaDestinationHdl_Impl));
m_pParaLBox->SelectEntryPos(0);
- if(!bCharOnly)
+ if (!bCharOnly)
{
m_pTblDesc->Show();
m_pParaLBox->Show();
+ m_pAsGrid->Show();
}
m_pParaLBox->SetData(m_pParaLBox); // here it can be recognized that this mode is turned on
}