Skip to content

Commit

Permalink
Prevent resizing detached instrument windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SpomJ committed Nov 17, 2024
1 parent 2a59fe4 commit b477e6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/instrument/InstrumentTrackWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ InstrumentTrackWindow::InstrumentTrackWindow( InstrumentTrackView * _itv ) :
// setup sizes and policies
generalSettingsWidget->setMaximumHeight(90);
generalSettingsWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
vlayout->setSizeConstraint(QLayout::SetFixedSize);
m_tabWidget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);

vlayout->addWidget( generalSettingsWidget );
Expand Down

0 comments on commit b477e6a

Please sign in to comment.