forked from mia/Aegisub
Really unhardcode the Paste Over dialog's height rather than just the width
Originally committed to SVN as r6374.
This commit is contained in:
parent
a54983a9bc
commit
4746ae8a1d
|
@ -69,7 +69,7 @@ DialogPasteOver::DialogPasteOver(wxWindow *parent)
|
||||||
choices.Add(_("Margin Vertical"));
|
choices.Add(_("Margin Vertical"));
|
||||||
choices.Add(_("Effect"));
|
choices.Add(_("Effect"));
|
||||||
choices.Add(_("Text"));
|
choices.Add(_("Text"));
|
||||||
ListBox = new wxCheckListBox(this, -1, wxDefaultPosition, wxSize(-1, 170), choices);
|
ListBox = new wxCheckListBox(this, -1, wxDefaultPosition, wxDefaultSize, choices);
|
||||||
ListSizer->Add(ListBox, wxSizerFlags(0).Expand().Border(wxTOP));
|
ListSizer->Add(ListBox, wxSizerFlags(0).Expand().Border(wxTOP));
|
||||||
|
|
||||||
std::vector<bool> options = OPT_GET("Tool/Paste Lines Over/Fields")->GetListBool();
|
std::vector<bool> options = OPT_GET("Tool/Paste Lines Over/Fields")->GetListBool();
|
||||||
|
|
Loading…
Reference in a new issue