forked from mia/Aegisub
Double the size of the Automation log window
This commit is contained in:
parent
32990fce49
commit
2be9218560
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,7 @@ DialogProgress::DialogProgress(wxWindow *parent, wxString const& title_text, wxS
|
||||||
gauge = new wxGauge(this, -1, 100, wxDefaultPosition, wxSize(300,20));
|
gauge = new wxGauge(this, -1, 100, wxDefaultPosition, wxSize(300,20));
|
||||||
text = new wxStaticText(this, -1, message, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE | wxST_NO_AUTORESIZE);
|
text = new wxStaticText(this, -1, message, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE | wxST_NO_AUTORESIZE);
|
||||||
cancel_button = new wxButton(this, wxID_CANCEL);
|
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
|
// make the title a slightly larger font
|
||||||
wxFont title_font = title->GetFont();
|
wxFont title_font = title->GetFont();
|
||||||
|
@ -167,6 +167,7 @@ void DialogProgress::OnIdle(wxIdleEvent&) {
|
||||||
sizer->Show(log_output);
|
sizer->Show(log_output);
|
||||||
Layout();
|
Layout();
|
||||||
sizer->Fit(this);
|
sizer->Fit(this);
|
||||||
|
CenterOnParent();
|
||||||
}
|
}
|
||||||
|
|
||||||
*log_output << pending_log;
|
*log_output << pending_log;
|
||||||
|
|
Loading…
Reference in a new issue