author | paule <paule> | 2007-01-13 07:05:32 (UTC) |
---|---|---|
committer | paule <paule> | 2007-01-13 07:05:32 (UTC) |
commit | c0eb83f37ec3c49d0c6b322840605f2a95ea0b52 (patch) (unidiff) | |
tree | e776b5f8fd7f5d8f5ff5e9e3c6d9d638999ed622 | |
parent | 75c65c1dc728929f0430b8faf956195657b73311 (diff) | |
download | opie-c0eb83f37ec3c49d0c6b322840605f2a95ea0b52.zip opie-c0eb83f37ec3c49d0c6b322840605f2a95ea0b52.tar.gz opie-c0eb83f37ec3c49d0c6b322840605f2a95ea0b52.tar.bz2 |
Set sensible minimum width for Goto Line dialog
-rw-r--r-- | noncore/apps/tinykate/libkate/view/kateviewdialog.cpp | 3 |
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 | |||
@@ -225,16 +225,19 @@ GotoLineDialog::GotoLineDialog(QWidget *parent, int line, int max) | |||
225 | e1->setMaxValue(max); | 225 | e1->setMaxValue(max); |
226 | e1->setValue((int)line); | 226 | e1->setValue((int)line); |
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 | ||
236 | int GotoLineDialog::getLine() { | 239 | int GotoLineDialog::getLine() { |
237 | return e1->value(); | 240 | return e1->value(); |
238 | } | 241 | } |
239 | 242 | ||
240 | const int IndentConfigTab::flags[] = {KateView::cfAutoIndent, KateView::cfSpaceIndent, | 243 | const int IndentConfigTab::flags[] = {KateView::cfAutoIndent, KateView::cfSpaceIndent, |