From ffbeb28be38110e14dad4a39068c8c54f46b98e2 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 28 Dec 2007 15:30:05 +0000 Subject: [PATCH] *** empty log message *** --- src/SUIT/SUIT_FileDlg.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SUIT/SUIT_FileDlg.cxx b/src/SUIT/SUIT_FileDlg.cxx index bfb32cb88..cd23a38d7 100755 --- a/src/SUIT/SUIT_FileDlg.cxx +++ b/src/SUIT/SUIT_FileDlg.cxx @@ -259,12 +259,13 @@ bool SUIT_FileDlg::addWidgets( QWidget* l, QWidget* w, QWidget* b ) QGridLayout* grid = ::qobject_cast( layout() ); if ( grid ) { int row = grid->rowCount(); + int columns = grid->columnCount(); if ( l ) grid->addWidget( l, row, 0 ); if ( w ) - grid->addWidget( w, row, 1, 1, 3 ); + grid->addWidget( w, row, 1, 1, columns-2 ); if ( b ) - grid->addWidget( b, row, 5 ); + grid->addWidget( b, row, columns-1 ); return true; } return false; -- 2.39.2