[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    patch for the application launcher
From:       tnagy <Thomas.NAGY () eleve ! emn ! fr>
Date:       2003-12-22 9:07:21
[Download RAW message or body]

A small patch for the application launcher is attached to this email. 
The dialog does not appear properly using some combinations of fonts and 
styles (example there : http://linpacker.tuxfamily.org/plastik-problem.png).


Regards,
Thomas Nagy

["fix_styles_launcher_dialog.diff" (text/plain)]

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()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic