]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Resource edit modifications. Size policy of items was changed
authorstv <stv@opencascade.com>
Fri, 17 Jun 2005 08:43:29 +0000 (08:43 +0000)
committerstv <stv@opencascade.com>
Fri, 17 Jun 2005 08:43:29 +0000 (08:43 +0000)
src/Qtx/QtxListResourceEdit.cxx

index 2027fd2aa463d255de3b20cec7e9436e5f213c3d..8ff32d4b4d233900d73d724f591d2e5cb6033046 100644 (file)
@@ -38,8 +38,8 @@ QtxResourceEdit( mgr )
   myList  = new QListBox( base );
   myStack = new QWidgetStack( base );
 
-  myList->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Preferred ) );
-  myStack->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Preferred ) );
+  myList->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Expanding ) );
+  myStack->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) );
 
   myList->setSelectionMode( QListBox::Single );
 
@@ -399,7 +399,7 @@ QtxResourceEdit::Item* QtxListResourceEdit::PrefItem::createItem( const QString&
 QtxListResourceEdit::Spacer::Spacer( QtxResourceEdit* edit, Item* pItem, QWidget* parent )
 : PrefItem( Space, edit, pItem, parent )
 {
-  setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Preferred ) );
+  setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
 }
 
 QtxListResourceEdit::Spacer::~Spacer()