diff options
| author | Greg Ercolano <erco@seriss.com> | 2009-09-25 20:42:42 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2009-09-25 20:42:42 +0000 |
| commit | fa53716876a27aa8ed95eb40771904d8d5c7786a (patch) | |
| tree | b430de2a7f348355c1d145a03d2af0af4cc5798a /fluid | |
| parent | b12b5134a30acc779fc1aaad0a27859180c5fe9c (diff) | |
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
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/widget_panel.cxx | 4 | ||||
| -rw-r--r-- | fluid/widget_panel.fl | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/fluid/widget_panel.cxx b/fluid/widget_panel.cxx index 72e0d6958..5709a0666 100644 --- a/fluid/widget_panel.cxx +++ b/fluid/widget_panel.cxx @@ -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); diff --git a/fluid/widget_panel.fl b/fluid/widget_panel.fl index caa690322..d6df14e39 100644 --- a/fluid/widget_panel.fl +++ b/fluid/widget_panel.fl @@ -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 |
