From: stv Date: Fri, 17 Jun 2005 08:43:29 +0000 (+0000) Subject: Resource edit modifications. Size policy of items was changed X-Git-Tag: T3_0_0_a4~89 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e3f004eda12fd4a1f01009cd04dcf6a6df36870;p=modules%2Fgui.git Resource edit modifications. Size policy of items was changed --- diff --git a/src/Qtx/QtxListResourceEdit.cxx b/src/Qtx/QtxListResourceEdit.cxx index 2027fd2aa..8ff32d4b4 100644 --- a/src/Qtx/QtxListResourceEdit.cxx +++ b/src/Qtx/QtxListResourceEdit.cxx @@ -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()