Skip to content
Permalink
Browse files
add spacer to keep attributes on top
  • Loading branch information
blazek committed Jul 5, 2013
1 parent e83acea commit b075bf3a789c677e04b95f3631c52183c5a81286
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgsattributedialog.cpp
@@ -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 );

0 comments on commit b075bf3

Please sign in to comment.