Skip to content

Commit

Permalink
Wider split window
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoru committed Nov 21, 2020
1 parent 8dda1d8 commit 9e83884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AudioSplitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ AudioSplitter::AudioSplitter(wxWindow *parent, const wxPoint &pos, const wxSize
sizer->Add(panel_parameters, wxSizerFlags().Border(wxALL, 10).Expand());
sizer->Add(panel_bottom, wxSizerFlags().Align(wxALIGN_RIGHT).Border(wxALL, 10));

sizer->SetMinSize(size);
SetSizerAndFit(sizer);
panel->SetSize(GetSize());
// SetMinSize(size);

DragAcceptFiles(true);
}
Expand Down
2 changes: 1 addition & 1 deletion src/divedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ bool DivisionEditor::DivRename() {
void DivisionEditor::OnOpenAudioSplitter(wxCommandEvent &event) {
if (!division) return;

auto splitter = new AudioSplitter(this, wxDefaultPosition, wxSize(-1, -1), division);
auto splitter = new AudioSplitter(this, wxDefaultPosition, wxSize(800, -1), division);
splitter->Show();
}

Expand Down

0 comments on commit 9e83884

Please sign in to comment.