Center port matrix if IO selector window is too large.
git-svn-id: svn://localhost/ardour2/branches/3.0@6661 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cf32bf81b8
commit
e6033ea2f9
@ -162,7 +162,9 @@ IOSelectorWindow::IOSelectorWindow (ARDOUR::Session* session, boost::shared_ptr<
|
||||
set_name ("IOSelectorWindow2");
|
||||
set_title (_("I/O selector"));
|
||||
|
||||
add (_selector);
|
||||
Gtk::Alignment* alignment = manage(new Gtk::Alignment(0.5, 0.5, 0.0, 0.0));
|
||||
alignment->add (_selector);
|
||||
add (*alignment);
|
||||
|
||||
set_position (Gtk::WIN_POS_MOUSE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user