Skip to content

Commit

Permalink
Don't make the welcome page expanding.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Apr 11, 2017
1 parent f4bd4ad commit 0d63f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Modeling/ModelWidgetContainer.cpp
Expand Up @@ -2236,7 +2236,6 @@ void GraphicsView::leaveEvent(QEvent *event)
WelcomePageWidget::WelcomePageWidget(QWidget *pParent)
: QWidget(pParent)
{
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
// main frame
mpMainFrame = new QFrame;
mpMainFrame->setContentsMargins(0, 0, 0, 0);
Expand All @@ -2255,6 +2254,7 @@ WelcomePageWidget::WelcomePageWidget(QWidget *pParent)
#ifndef Q_OS_MAC
mpHeadingLabel->setGraphicsEffect(new QGraphicsDropShadowEffect);
#endif
mpHeadingLabel->setElideMode(Qt::ElideMiddle);
// top frame layout
QHBoxLayout *topFrameLayout = new QHBoxLayout;
topFrameLayout->setAlignment(Qt::AlignLeft);
Expand Down

0 comments on commit 0d63f38

Please sign in to comment.