summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-28 16:45:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-28 20:58:16 +0100
commit9ab2ecd0c6b941b388a69c647c9caed97eb72cca (patch)
tree0cee1b9bb22a118f3e075d22bc9e564d0732ceaa /cui/source
parent1f3ad1e31db21c73a0af7aae07cc3eb641e7d51c (diff)
pretty up optlingu page
Change-Id: Id9b2eec42c55d66ae4669703f1d2b376bae251ce
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/inc/helpid.hrc3
-rw-r--r--cui/source/options/optlingu.cxx7
2 files changed, 4 insertions, 6 deletions
diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc
index fb5cf88498e6..5b376b6e6c4c 100644
--- a/cui/source/inc/helpid.hrc
+++ b/cui/source/inc/helpid.hrc
@@ -26,10 +26,7 @@
#define HID_OPTIONS_LINGU "CUI_HID_OPTIONS_LINGU"
#define HID_OPTIONS_DICT_EDIT "CUI_HID_OPTIONS_DICT_EDIT"
-#define HID_CLB_EDIT_MODULES_DICS "CUI_HID_CLB_EDIT_MODULES_DICS"
#define HID_CLB_EDIT_MODULES_MODULES "CUI_HID_CLB_EDIT_MODULES_MODULES"
-#define HID_CLB_LINGU_MODULES "CUI_HID_CLB_LINGU_MODULES"
-#define HID_CLB_LINGU_OPTIONS "CUI_HID_CLB_LINGU_OPTIONS"
#define HID_EDIT_MODULES "CUI_HID_EDIT_MODULES"
#define HID_OPTIONS_COLORCONFIG_SAVE_SCHEME "CUI_HID_OPTIONS_COLORCONFIG_SAVE_SCHEME"
#define HID_OFADLG_OPTIONS_TREE "CUI_HID_OFADLG_OPTIONS_TREE"
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index d662ee15ab05..84c2e77cecdf 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1081,10 +1081,13 @@ SvxLinguTabPage::SvxLinguTabPage( Window* pParent, const SfxItemSet& rSet ) :
get(m_pLinguOptionsEditPB, "linguoptionsedit");
get(m_pMoreDictsLink, "moredictslink");
+ m_pLinguModulesCLB->set_height_request(m_pLinguModulesCLB->GetTextHeight() * 3);
+ m_pLinguDicsCLB->set_height_request(m_pLinguDicsCLB->GetTextHeight() * 5);
+ m_pLinguOptionsCLB->set_height_request(m_pLinguOptionsCLB->GetTextHeight() * 5);
+
pCheckButtonData = NULL;
m_pLinguModulesCLB->SetStyle( m_pLinguModulesCLB->GetStyle()|WB_CLIPCHILDREN|WB_HSCROLL|WB_FORCE_MAKEVISIBLE );
- m_pLinguModulesCLB->SetHelpId(HID_CLB_LINGU_MODULES );
m_pLinguModulesCLB->SetHighlightRange();
m_pLinguModulesCLB->SetSelectHdl( LINK( this, SvxLinguTabPage, SelectHdl_Impl ));
m_pLinguModulesCLB->SetDoubleClickHdl(LINK(this, SvxLinguTabPage, BoxDoubleClickHdl_Impl));
@@ -1094,7 +1097,6 @@ SvxLinguTabPage::SvxLinguTabPage( Window* pParent, const SfxItemSet& rSet ) :
m_pLinguOptionsEditPB->SetClickHdl( LINK( this, SvxLinguTabPage, ClickHdl_Impl ));
m_pLinguDicsCLB->SetStyle( m_pLinguDicsCLB->GetStyle()|WB_CLIPCHILDREN|WB_HSCROLL|WB_FORCE_MAKEVISIBLE );
- m_pLinguDicsCLB->SetHelpId(HID_CLB_EDIT_MODULES_DICS );
m_pLinguDicsCLB->SetHighlightRange();
m_pLinguDicsCLB->SetSelectHdl( LINK( this, SvxLinguTabPage, SelectHdl_Impl ));
m_pLinguDicsCLB->SetCheckButtonHdl(LINK(this, SvxLinguTabPage, BoxCheckButtonHdl_Impl));
@@ -1104,7 +1106,6 @@ SvxLinguTabPage::SvxLinguTabPage( Window* pParent, const SfxItemSet& rSet ) :
m_pLinguDicsDelPB->SetClickHdl( LINK( this, SvxLinguTabPage, ClickHdl_Impl ));
m_pLinguOptionsCLB->SetStyle( m_pLinguOptionsCLB->GetStyle()|WB_CLIPCHILDREN|WB_HSCROLL|WB_FORCE_MAKEVISIBLE );
- m_pLinguOptionsCLB->SetHelpId(HID_CLB_LINGU_OPTIONS );
m_pLinguOptionsCLB->SetHighlightRange();
m_pLinguOptionsCLB->SetSelectHdl( LINK( this, SvxLinguTabPage, SelectHdl_Impl ));
m_pLinguOptionsCLB->SetDoubleClickHdl(LINK(this, SvxLinguTabPage, BoxDoubleClickHdl_Impl));