From 42b1d096810e01011d50342fb095f9ee49388bd8 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 19 Sep 2005 21:14:23 +0000 Subject: STR 1026: Text input filed had NO_BOX as its background, so the moving cursor would not be erased. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Help_Dialog.cxx | 2 +- src/Fl_Help_Dialog.fl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Fl_Help_Dialog.cxx b/src/Fl_Help_Dialog.cxx index 88036cc2b..bd4d7e5a1 100644 --- a/src/Fl_Help_Dialog.cxx +++ b/src/Fl_Help_Dialog.cxx @@ -197,7 +197,7 @@ Fl_Help_Dialog::Fl_Help_Dialog() { o->color(FL_BACKGROUND2_COLOR); { Fl_Input* o = find_ = new Fl_Input(35, 352, 268, 21, "@search"); o->tooltip("find text in document"); - o->box(FL_NO_BOX); + o->box(FL_FLAT_BOX); o->labelsize(13); o->callback((Fl_Callback*)cb_find_); o->when(FL_WHEN_ENTER_KEY_ALWAYS); diff --git a/src/Fl_Help_Dialog.fl b/src/Fl_Help_Dialog.fl index ba291593c..196d6339d 100644 --- a/src/Fl_Help_Dialog.fl +++ b/src/Fl_Help_Dialog.fl @@ -77,7 +77,7 @@ else if (view_->filename()) { strlcpy(file_[index_], view_->filename(), sizeof(file_[0])); line_[index_] = view_->topline(); -}} open selected +}} open private xywh {10 10 510 330} box DOWN_BOX selection_color 15 resizable code0 {\#include } class Fl_Help_View @@ -152,8 +152,8 @@ smaller_->activate();} } { Fl_Input find_ { label {@search} - callback {find_pos_ = view_->find(find_->value(), find_pos_);} - private tooltip {find text in document} xywh {35 352 268 21} box NO_BOX labelsize 13 when 10 resizable + callback {find_pos_ = view_->find(find_->value(), find_pos_);} selected + private tooltip {find text in document} xywh {35 352 268 21} box FLAT_BOX labelsize 13 when 10 resizable } } } -- cgit v1.2.3