Author: greg.ercolano
Date: 2009-09-25 13:42:42 -0700 (Fri, 25 Sep 2009)
New Revision: 6900
Log:
Added extra tooltip indicating Ctrl-J can be used to create
newlines in properties editor fields for Label: and Tooltip:.
Modified:
branches/branch-1.3/fluid/widget_panel.cxx
branches/branch-1.3/fluid/widget_panel.fl
Modified: branches/branch-1.3/fluid/widget_panel.cxx
===================================================================
--- branches/branch-1.3/fluid/widget_panel.cxx 2009-09-23 21:32:23 UTC (rev
6899)
+++ branches/branch-1.3/fluid/widget_panel.cxx 2009-09-25 20:42:42 UTC (rev
6900)
@@ -82,7 +82,7 @@
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 @@
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);
Modified: branches/branch-1.3/fluid/widget_panel.fl
===================================================================
--- branches/branch-1.3/fluid/widget_panel.fl 2009-09-23 21:32:23 UTC (rev
6899)
+++ branches/branch-1.3/fluid/widget_panel.fl 2009-09-25 20:42:42 UTC (rev
6900)
@@ -53,7 +53,8 @@
} {
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 @@
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
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit