[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara
caolanm at redhat.com
Tue Feb 18 16:48:51 CET 2014
sfx2/source/dialog/alienwarn.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit b612871fff5747d4752e8f32910e8616add44e75
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Feb 18 15:47:15 2014 +0000
Resolves: fdo#75121 align checkbox with message text
Change-Id: Ib8379cbdb6cf16f8799c1e34b9bd7ff2e62e27f4
diff --git a/sfx2/source/dialog/alienwarn.cxx b/sfx2/source/dialog/alienwarn.cxx
index ad5290e..c041d58 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)
More information about the Libreoffice-commits
mailing list