Index: minicli.cpp
===================================================================
RCS file: /home/kde/kdebase/kdesktop/minicli.cpp,v
retrieving revision 1.167
diff -u -3 -p -r1.167 minicli.cpp
--- minicli.cpp	25 Nov 2003 20:07:33 -0000	1.167
+++ minicli.cpp	22 Dec 2003 02:39:22 -0000
@@ -79,7 +79,6 @@ Minicli::Minicli( QWidget *parent, const
   QVBoxLayout* mainLayout = new QVBoxLayout( this, 0, KDialog::spacingHint() );
   m_dlg = new MinicliDlgUI (this);
   mainLayout->addWidget(m_dlg);
-  mainLayout->setResizeMode (QLayout::Fixed);
 
   m_dlg->lbRunIcon->setPixmap(DesktopIcon("kmenu"));
   m_dlg->lbRunIcon->setFixedSize(m_dlg->lbRunIcon->sizeHint());
@@ -174,6 +173,7 @@ void Minicli::show()
   setMaxCommandBoxWidth();
   KWin::setState( winId(), NET::StaysOnTop );
   KDialog::show();
+  setFixedSize(size());
 }
 
 void Minicli::loadConfig()
@@ -624,6 +624,7 @@ void Minicli::slotAdvanced()
     if( m_FocusWidget && m_FocusWidget->parent() != m_dlg->gbAdvanced )
       m_FocusWidget->setFocus();
   }
+  updateGeometry();
 }
 
 void Minicli::slotParseTimer()
