Skip to content


add spacer to keep attributes on top
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Jul 5, 2013
1 parent e83acea commit b075bf3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgsattributedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ QgsAttributeDialog::QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeat
//transfers scroll area ownership so no need to call delete
mypOuterLayout->addWidget( mypScrollArea );

QSpacerItem *mypSpacer = new QSpacerItem( 10, 10, QSizePolicy::Fixed, QSizePolicy::Expanding );
mypOuterLayout->addItem( mypSpacer );

QFrame *mypInnerFrame = new QFrame();
mypInnerFrame->setFrameShape( QFrame::NoFrame );
mypInnerFrame->setFrameShadow( QFrame::Plain );
Expand Down

0 comments on commit b075bf3

Please sign in to comment.