mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 15:15:41 +01:00
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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue