From eb5a5432d79083fdfefb7b9b0c0907abe8807a52 Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 18 May 2004 20:08:54 +0000 Subject: Fix the layout of the KeyConfig Dialog. The label with 'Default: %1' is now added as MultiCellWidget and now larger keys don't make the 'configure key' button go out of display dimnesion --- diff --git a/libopie2/opieui/okeyconfigwidget.cpp b/libopie2/opieui/okeyconfigwidget.cpp index 1991381..56f4746 100644 --- a/libopie2/opieui/okeyconfigwidget.cpp +++ b/libopie2/opieui/okeyconfigwidget.cpp @@ -180,10 +180,10 @@ void OKeyConfigWidget::initUi() { m_cus = rad; m_btn = new QPushButton( tr("Configure Key"), box ); - gridLay->addWidget( m_btn, 1, 4 ); + gridLay->addWidget( m_btn, 1, 3 ); m_lbl= new QLabel( tr( "Default: " ), box ); - gridLay->addWidget( m_lbl, 2, 0 ); + gridLay->addMultiCellWidget( m_lbl, 2, 2, 0, 3 ); connect(m_btn, SIGNAL(clicked()), this, SLOT(slotConfigure())); -- cgit v0.9.0.2