From 2be9218560dab603d26e3e485fb7916eb1929a3d Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sat, 21 Sep 2013 16:20:19 -0700 Subject: [PATCH] Double the size of the Automation log window --- aegisub/src/dialog_progress.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aegisub/src/dialog_progress.cpp b/aegisub/src/dialog_progress.cpp index 01ba1b0fe..ed840cc2d 100644 --- a/aegisub/src/dialog_progress.cpp +++ b/aegisub/src/dialog_progress.cpp @@ -84,7 +84,7 @@ DialogProgress::DialogProgress(wxWindow *parent, wxString const& title_text, wxS gauge = new wxGauge(this, -1, 100, wxDefaultPosition, wxSize(300,20)); text = new wxStaticText(this, -1, message, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE | wxST_NO_AUTORESIZE); cancel_button = new wxButton(this, wxID_CANCEL); - log_output = new wxTextCtrl(this, -1, "", wxDefaultPosition, wxSize(300, 120), wxTE_MULTILINE | wxTE_READONLY); + log_output = new wxTextCtrl(this, -1, "", wxDefaultPosition, wxSize(600, 240), wxTE_MULTILINE | wxTE_READONLY); // make the title a slightly larger font wxFont title_font = title->GetFont(); @@ -167,6 +167,7 @@ void DialogProgress::OnIdle(wxIdleEvent&) { sizer->Show(log_output); Layout(); sizer->Fit(this); + CenterOnParent(); } *log_output << pending_log;