Commit f348a018 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

An other comment khbox.

Fix layout

svn path=/trunk/koffice/; revision=544082
parent b3c56575
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include <klocale.h> #include <klocale.h>
#include <q3vbox.h> #include <kvbox.h>
#include <QLabel> #include <QLabel>
#include <QLineEdit> #include <QLineEdit>
#include "KoCreateStyleDia.h" #include "KoCreateStyleDia.h"
...@@ -30,9 +30,9 @@ KoCreateStyleDia::KoCreateStyleDia( const QStringList & _list, QWidget *parent, ...@@ -30,9 +30,9 @@ KoCreateStyleDia::KoCreateStyleDia( const QStringList & _list, QWidget *parent,
{ {
styleList=_list; styleList=_list;
setCaption( i18n("Create New Style") ); setCaption( i18n("Create New Style") );
// KVBox *page = makeVBoxMainWidget(); KVBox *page = makeVBoxMainWidget();
new QLabel(i18n("Please specify a new style name:"), this); new QLabel(i18n("Please specify a new style name:"), page);
m_styleName = new QLineEdit( this ); m_styleName = new QLineEdit( page );
m_styleName->setMinimumWidth( m_styleName->sizeHint().width() * 3 ); m_styleName->setMinimumWidth( m_styleName->sizeHint().width() * 3 );
connect( m_styleName, SIGNAL(textChanged ( const QString & )), this, SLOT(nameChanged( const QString &))); connect( m_styleName, SIGNAL(textChanged ( const QString & )), this, SLOT(nameChanged( const QString &)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment