summaryrefslogtreecommitdiff
authorpaule <paule>2007-01-13 07:05:32 (UTC)
committer paule <paule>2007-01-13 07:05:32 (UTC)
commitc0eb83f37ec3c49d0c6b322840605f2a95ea0b52 (patch) (unidiff)
treee776b5f8fd7f5d8f5ff5e9e3c6d9d638999ed622
parent75c65c1dc728929f0430b8faf956195657b73311 (diff)
downloadopie-c0eb83f37ec3c49d0c6b322840605f2a95ea0b52.zip
opie-c0eb83f37ec3c49d0c6b322840605f2a95ea0b52.tar.gz
opie-c0eb83f37ec3c49d0c6b322840605f2a95ea0b52.tar.bz2
Set sensible minimum width for Goto Line dialog
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/tinykate/libkate/view/kateviewdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp b/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp
index b7cf9f5..d6fde62 100644
--- a/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp
+++ b/noncore/apps/tinykate/libkate/view/kateviewdialog.cpp
@@ -227,12 +227,15 @@ GotoLineDialog::GotoLineDialog(QWidget *parent, int line, int max)
227 227
228 QLabel *label = new QLabel( e1,i18n("&Goto Line:"), page ); 228 QLabel *label = new QLabel( e1,i18n("&Goto Line:"), page );
229 topLayout->addWidget(label); 229 topLayout->addWidget(label);
230 topLayout->addWidget(e1); 230 topLayout->addWidget(e1);
231 topLayout->addSpacing(spacingHint()); // A little bit extra space 231 topLayout->addSpacing(spacingHint()); // A little bit extra space
232 topLayout->addStretch(10); 232 topLayout->addStretch(10);
233
234 page->setMinimumWidth(100);
235
233 e1->setFocus(); 236 e1->setFocus();
234} 237}
235 238
236int GotoLineDialog::getLine() { 239int GotoLineDialog::getLine() {
237 return e1->value(); 240 return e1->value();
238} 241}