summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-24 00:46:13 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-24 00:46:13 +0200
commitdfc1003dfddd3f5e10204ec9b7c2b76cf0436325 (patch)
tree845037ee5c8edddc021ece810f483008e8a5c56b
parent6b0a17aa9e87e914666e696b251555b934cfb811 (diff)
Improve layout of drive-wipe warning dialogue.
-rw-r--r--src/wx/drive_wipe_warning_dialog.cc8
1 files 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 <span weight=\"bold\" size=\"larger\">ALL DATA</span> "
- "on the drive %s will be <span weight=\"bold\" size=\"larger\">PERMANENTLY DESTROYED</span>.\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\n<span weight=\"bold\" size=\"20480\" foreground=\"red\">ALL DATA</span>\n\n"
+ "on the drive\n\n<b>%s</b>\n\nwill be\n\n<span weight=\"bold\" size=\"20480\" foreground=\"red\">PERMANENTLY DESTROYED.</span>\n\n"
+ "If you are sure you want to continue please type\n\n<tt>yes</tt>\n\ninto the box below, then click OK."), drive
)
);
}