From: mkr Date: Mon, 15 Jun 2015 14:10:17 +0000 (+0300) Subject: refs #568: correct margin and spacing. X-Git-Tag: v1.4.1^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=90131fa47e483d066a91390388817333de3e56a2;p=modules%2Fhydro.git refs #568: correct margin and spacing. --- diff --git a/src/HYDROGUI/HYDROGUI_LandCoverDlg.cxx b/src/HYDROGUI/HYDROGUI_LandCoverDlg.cxx index 39baff78..a8866617 100644 --- a/src/HYDROGUI/HYDROGUI_LandCoverDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_LandCoverDlg.cxx @@ -45,7 +45,7 @@ HYDROGUI_LandCoverDlg::HYDROGUI_LandCoverDlg( HYDROGUI_Module* theModule, const // Include/Exclude buttons QFrame* aBtnsFrame = new QFrame( myPolylineFrame ); QVBoxLayout* aBtnsLayout = new QVBoxLayout( aBtnsFrame ); - aBtnsLayout->setMargin( 5 ); + aBtnsLayout->setMargin( 0 ); aBtnsLayout->setSpacing( 5 ); aBtnsFrame->setLayout( aBtnsLayout ); QPushButton* anAddBtn = new QPushButton( tr("INCLUDE"), aBtnsFrame ); @@ -57,8 +57,8 @@ HYDROGUI_LandCoverDlg::HYDROGUI_LandCoverDlg( HYDROGUI_Module* theModule, const aBtnsLayout->addStretch( 1 ); QGridLayout* aPolyLayout = new QGridLayout( myPolylineFrame ); - aPolyLayout->setMargin( 5 ); - aPolyLayout->setSpacing( 5 ); + aPolyLayout->setMargin( 0 ); + aPolyLayout->setSpacing( 10 ); aPolyLayout->addWidget( new QLabel( tr( "LAND_COVER_POLYLINES" ), myPolylineFrame ), 0, 0, 1, 2 ); aPolyLayout->addWidget( aBtnsFrame, 1, 0, 1, 1 ); aPolyLayout->addWidget( myPolylines, 1, 1, 1, 1 );