From 90131fa47e483d066a91390388817333de3e56a2 Mon Sep 17 00:00:00 2001 From: mkr Date: Mon, 15 Jun 2015 17:10:17 +0300 Subject: [PATCH] refs #568: correct margin and spacing. --- src/HYDROGUI/HYDROGUI_LandCoverDlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.39.2