Skip to content

Commit

Permalink
Merge branch 'master' of github.com:musescore/MuseScore
Browse files Browse the repository at this point in the history
  • Loading branch information
wschweer committed Jan 8, 2015
2 parents 328503f + 7e004c8 commit 68600ec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions mscore/exampleview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,5 +331,15 @@ void ExampleView::mousePressEvent(QMouseEvent* event)
}
}

//---------------------------------------------------------
// sizeHint
//---------------------------------------------------------

QSize ExampleView::sizeHint() const
{
return QSize(1000 * guiScaling, 80 * guiScaling);
}


}

2 changes: 1 addition & 1 deletion mscore/exampleview.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class ExampleView : public QFrame, public MuseScoreView {
virtual void dragLeaveEvent(QDragLeaveEvent*);
virtual void dragMoveEvent(QDragMoveEvent*);
virtual void dropEvent(QDropEvent*);
virtual QSize sizeHint() const { return QSize(1000, 80); }
virtual void mousePressEvent(QMouseEvent*);
virtual QSize sizeHint() const;

signals:
void noteClicked(Note*);
Expand Down
2 changes: 1 addition & 1 deletion mscore/startcenter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ void MyWebView::addToJavascript()

QSize MyWebView::sizeHint() const
{
return QSize(300 , 600);
return QSize(300 * guiScaling, 600 * guiScaling);
}

//---------------------------------------------------------
Expand Down

0 comments on commit 68600ec

Please sign in to comment.