From cce14c9717e3c21a61bbd4ce620d17fa23feafa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 4 Dec 2013 12:17:21 +0000 Subject: [PATCH] Related: fdo#72258 re-orient dialog vertically Change-Id: I9f703e2ab5c787641e9cc62f223f39dbd5d02529 --- cui/UIConfig_cui.mk | 1 + cui/source/dialogs/SpellDialog.cxx | 2 +- cui/uiconfig/ui/spelloptionsdialog.ui | 81 +++++++++++++++++++++++++++ 3 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 cui/uiconfig/ui/spelloptionsdialog.ui diff --git a/cui/UIConfig_cui.mk b/cui/UIConfig_cui.mk index 4bfd0bd01ec7..c540b0ea2c90 100644 --- a/cui/UIConfig_cui.mk +++ b/cui/UIConfig_cui.mk @@ -127,6 +127,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\ cui/uiconfig/ui/slantcornertabpage \ cui/uiconfig/ui/specialcharacters \ cui/uiconfig/ui/spellingdialog \ + cui/uiconfig/ui/spelloptionsdialog \ cui/uiconfig/ui/splitcellsdialog \ cui/uiconfig/ui/storedwebconnectiondialog \ cui/uiconfig/ui/swpossizepage \ diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 5264750ad4fd..5eb92a36cd8a 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -503,7 +503,7 @@ void SpellDialog::StartSpellOptDlg_Impl() SfxItemSet aSet( SFX_APP()->GetPool(), aSpellInfos); aSet.Put(SfxSpellCheckItem( xSpell, SID_ATTR_SPELL )); SfxSingleTabDialog* pDlg = - new SfxSingleTabDialog(this, aSet); + new SfxSingleTabDialog(this, aSet, "SpellOptionsDialog", "cui/ui/spelloptionsdialog.ui"); SfxTabPage* pPage = SvxLinguTabPage::Create( pDlg->get_content_area(), aSet ); ( (SvxLinguTabPage*)pPage )->HideGroups( GROUP_MODULES ); pDlg->setTabPage( pPage ); diff --git a/cui/uiconfig/ui/spelloptionsdialog.ui b/cui/uiconfig/ui/spelloptionsdialog.ui new file mode 100644 index 000000000000..1d013cdce61a --- /dev/null +++ b/cui/uiconfig/ui/spelloptionsdialog.ui @@ -0,0 +1,81 @@ + + + + + False + 6 + Options + dialog + + + False + vertical + 12 + + + False + end + + + gtk-ok + True + True + True + True + True + True + + + False + True + 0 + + + + + gtk-cancel + True + True + True + True + + + False + True + 1 + + + + + gtk-help + True + True + True + True + + + False + True + 2 + + + + + False + True + end + 0 + + + + + + + + + ok + cancel + help + + +