Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent piano roll window from being resized to 0px height #45

Merged
merged 1 commit into from
Jan 17, 2014
Merged

Prevent piano roll window from being resized to 0px height #45

merged 1 commit into from
Jan 17, 2014

Conversation

grejppi
Copy link
Contributor

@grejppi grejppi commented Jan 17, 2014

@@ -618,7 +618,7 @@
if( engine::mainWindow()->workspace() )
{
engine::mainWindow()->workspace()->addSubWindow( this );
parentWidget()->setMinimumWidth( tb_layout->minimumSize().width()+10 );
parentWidget()->setMinimumSize( tb_layout->minimumSize().width()+10, 200 );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

200? I guess that looked good? I don't like hardcoded values, but I suppose that is the norm around this section of code anyway.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that was so in the patch originally

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry about that... guess I took 160 from a few lines earlier and added a bit to make it look good. Can't really remember what I was thinking back in June. :)

pgiblock added a commit that referenced this pull request Jan 17, 2014
Prevent piano roll window from being resized to 0px height
@pgiblock pgiblock merged commit 218f478 into LMMS:stable-0.4 Jan 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants