sfx2/source/dialog/alienwarn.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit b612871fff5747d4752e8f32910e8616add44e75 Author: Caolán McNamara <[email protected]> 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)
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
