From dfc1003dfddd3f5e10204ec9b7c2b76cf0436325 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 24 Apr 2020 00:46:13 +0200 Subject: [PATCH] Improve layout of drive-wipe warning dialogue. --- src/wx/drive_wipe_warning_dialog.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wx/drive_wipe_warning_dialog.cc b/src/wx/drive_wipe_warning_dialog.cc index 2eb0b9d8c..23e007a05 100644 --- a/src/wx/drive_wipe_warning_dialog.cc +++ b/src/wx/drive_wipe_warning_dialog.cc @@ -26,7 +26,7 @@ DriveWipeWarningDialog::DriveWipeWarningDialog (wxWindow* parent, wxString drive : wxDialog (parent, wxID_ANY, _("Important notice")) { wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL); - wxStaticText* text = new StaticText (this, wxEmptyString, wxDefaultPosition, wxSize(400, 300)); + wxStaticText* text = new StaticText (this, wxEmptyString, wxDefaultPosition, wxSize(600, 400)); sizer->Add (text, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER); _yes = new wxTextCtrl (this, wxID_ANY); sizer->Add (_yes, 0, wxALL, DCPOMATIC_DIALOG_BORDER); @@ -42,9 +42,9 @@ DriveWipeWarningDialog::DriveWipeWarningDialog (wxWindow* parent, wxString drive text->SetLabelMarkup ( wxString::Format( - _("If you continue with this operation ALL DATA " - "on the drive %s will be PERMANENTLY DESTROYED.\n\n" - "If you are sure you want to continue please type \"yes\" into the box below, then click OK."), drive + _("If you continue with this operation\n\nALL DATA\n\n" + "on the drive\n\n%s\n\nwill be\n\nPERMANENTLY DESTROYED.\n\n" + "If you are sure you want to continue please type\n\nyes\n\ninto the box below, then click OK."), drive ) ); } -- 2.30.2