diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-18 15:47:15 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-18 15:47:54 +0000 |
commit | b612871fff5747d4752e8f32910e8616add44e75 (patch) | |
tree | e70f1d63aeee722aeffedf6383fabf25de066420 /sfx2 | |
parent | 0274246d088469752c9a91120c0b90c2f08c9282 (diff) |
Resolves: fdo#75121 align checkbox with message text
Change-Id: Ib8379cbdb6cf16f8799c1e34b9bd7ff2e62e27f4
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/alienwarn.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/dialog/alienwarn.cxx b/sfx2/source/dialog/alienwarn.cxx index ad5290e8ae22..c041d58731e4 100644 --- a/sfx2/source/dialog/alienwarn.cxx +++ b/sfx2/source/dialog/alienwarn.cxx @@ -22,12 +22,17 @@ #include <sfx2/sfxresid.hxx> #include <sfx2/sfxuno.hxx> #include <unotools/saveopt.hxx> +#include <vcl/msgbox.hxx> #include "alienwarn.hxx" SfxAlienWarningDialog::SfxAlienWarningDialog(Window* pParent, const OUString& _rFormatName) : MessageDialog(pParent, "AlienWarnDialog", "sfx/ui/alienwarndialog.ui") { get(m_pWarningOnBox, "ask"); + //fdo#75121, a bit tricky because the widgets we want to align with + //don't actually exist in the ui description, they're implied + m_pWarningOnBox->set_margin_left(QueryBox::GetStandardImage().GetSizePixel().Width() + 12); + get(m_pKeepCurrentBtn, "save"); // replace formatname (text) |