13
0

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:
David Robillard 2010-02-09 03:43:06 +00:00
parent cf32bf81b8
commit e6033ea2f9

View File

@ -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);