Implemented "tooltip <attrib> <value>"
SVN revision: 2158
This commit is contained in:
+3
-2
@@ -1052,11 +1052,12 @@ incorporated in the next version.
|
||||
moves the mouse cursor over the attribute name in the entry form.
|
||||
</li>
|
||||
<li>
|
||||
<b><code>Tooltip <attribute option> = <comment></code></b><br>
|
||||
<b><code>Tooltip <attribute> <attribute option> = <comment></code></b><br>
|
||||
Same as <code><b>Tooltip <attribute></b></code>, but for option
|
||||
values of a <code><b>MOptions</b></code> attribute. Using this option,
|
||||
a different tooltip can be shown above each check box of an optional
|
||||
value for an attribute.
|
||||
value for an attribute. Please note that attributes or options with
|
||||
spaces should <b>not</b> be enclosed with quotes.
|
||||
</li>
|
||||
<li>
|
||||
<b><code>Icon comment <icon> = <comment></code></b><br>
|
||||
|
||||
@@ -10396,6 +10396,11 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
||||
if (getcfg(lbs->name, str, comment, sizeof(comment)))
|
||||
sprintf(tooltip, " title=\"%s\"", comment);
|
||||
|
||||
sprintf(str, "Tooltip %s %s", attr_list[index], attr_options[index][i]);
|
||||
tooltip[0] = 0;
|
||||
if (getcfg(lbs->name, str, comment, sizeof(comment)))
|
||||
sprintf(tooltip, " title=\"%s\"", comment);
|
||||
|
||||
sprintf(str, "%s_%d", ua, i);
|
||||
rsprintf("<span%s style=\"white-space:nowrap;\">\n", tooltip);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user