Skip to content
Permalink
Browse files

Fix margins on photo and web view edit widgets

  • Loading branch information
nyalldawson committed Apr 6, 2016
1 parent 76282d5 commit ece46d1c43df31d5688404e3c4ff5ee016c307c1
@@ -170,6 +170,8 @@ QWidget* QgsPhotoWidgetWrapper::createWidget( QWidget* parent )
layout->addWidget( label, 0, 0, 1, 2 );
layout->addWidget( le, 1, 0 );
layout->addWidget( pb, 1, 1 );
layout->setMargin( 0 );
layout->setContentsMargins( 0, 0, 0, 0 );

container->setLayout( layout );

@@ -81,6 +81,8 @@ QWidget* QgsWebViewWidgetWrapper::createWidget( QWidget* parent )
layout->addWidget( webView, 0, 0, 1, 2 );
layout->addWidget( le, 1, 0 );
layout->addWidget( pb, 1, 1 );
layout->setMargin( 0 );
layout->setContentsMargins( 0, 0, 0, 0 );

container->setLayout( layout );

0 comments on commit ece46d1

Please sign in to comment.
You can’t perform that action at this time.