Added extra tooltip indicating Ctrl-J can be used to create

newlines in properties editor fields for Label: and Tooltip:.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6900 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2009-09-25 20:42:42 +00:00
parent b12b5134a3
commit fa53716876
2 changed files with 6 additions and 4 deletions

View File

@ -82,7 +82,7 @@ Fl_Double_Window* make_widget_panel() {
o->callback((Fl_Callback*)propagate_load);
o->align(FL_ALIGN_LEFT);
{ Fl_Input* o = new Fl_Input(95, 40, 190, 20);
o->tooltip("The label text for the widget.");
o->tooltip("The label text for the widget.\nUse Ctrl-J for newlines.");
o->labelfont(1);
o->labelsize(11);
o->textsize(11);
@ -454,7 +454,7 @@ ive to the origin at construction time");
o->end();
} // Fl_Group* o
{ Fl_Input* o = new Fl_Input(95, 285, 310, 20, "Tooltip:");
o->tooltip("The tooltip text for the widget.");
o->tooltip("The tooltip text for the widget.\nUse Ctrl-J for newlines.");
o->labelfont(1);
o->labelsize(11);
o->textsize(11);

View File

@ -53,7 +53,8 @@ Function {make_widget_panel()} {open
} {
Fl_Input {} {
callback label_cb
tooltip {The label text for the widget.} xywh {95 40 190 20} labelfont 1 labelsize 11 when 1 textsize 11 resizable
tooltip {The label text for the widget.
Use Ctrl-J for newlines.} xywh {95 40 190 20} labelfont 1 labelsize 11 when 1 textsize 11 resizable
}
Fl_Choice {} {
callback labeltype_cb open
@ -319,7 +320,8 @@ Function {make_widget_panel()} {open
Fl_Input {} {
label {Tooltip:}
callback tooltip_cb
tooltip {The tooltip text for the widget.} xywh {95 285 310 20} labelfont 1 labelsize 11 textsize 11
tooltip {The tooltip text for the widget.
Use Ctrl-J for newlines.} xywh {95 285 310 20} labelfont 1 labelsize 11 textsize 11
}
Fl_Box {} {
xywh {95 305 300 5} labelsize 11 resizable