mirror of https://github.com/odrling/Aegisub
Set the height of sub box back to 50px
Revert the change made in ad15c53fb1
.
As a temporary solution for wangqr/Aegisub#4.
This commit is contained in:
parent
6cb1a49943
commit
0e0e04c943
|
@ -201,10 +201,10 @@ SubsEditBox::SubsEditBox(wxWindow *parent, agi::Context *context)
|
||||||
main_sizer->Add(middle_right_sizer,0,wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM,3);
|
main_sizer->Add(middle_right_sizer,0,wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM,3);
|
||||||
|
|
||||||
// Text editor
|
// Text editor
|
||||||
edit_ctrl = new SubsTextEditCtrl(this, wxDefaultSize, wxBORDER_SUNKEN, c);
|
edit_ctrl = new SubsTextEditCtrl(this, wxSize(-1, 50), wxBORDER_SUNKEN, c);
|
||||||
edit_ctrl->Bind(wxEVT_CHAR_HOOK, &SubsEditBox::OnKeyDown, this);
|
edit_ctrl->Bind(wxEVT_CHAR_HOOK, &SubsEditBox::OnKeyDown, this);
|
||||||
|
|
||||||
secondary_editor = new wxTextCtrl(this, -1, "", wxDefaultPosition, wxDefaultSize, wxBORDER_SUNKEN | wxTE_MULTILINE | wxTE_READONLY);
|
secondary_editor = new wxTextCtrl(this, -1, "", wxDefaultPosition, wxSize(-1, 50), wxBORDER_SUNKEN | wxTE_MULTILINE | wxTE_READONLY);
|
||||||
|
|
||||||
main_sizer->Add(secondary_editor,1,wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM,3);
|
main_sizer->Add(secondary_editor,1,wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM,3);
|
||||||
main_sizer->Add(edit_ctrl,1,wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM,3);
|
main_sizer->Add(edit_ctrl,1,wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM,3);
|
||||||
|
|
Loading…
Reference in New Issue