int baseline, float & x, bool) const
{
Painter & pain = bv->painter();
-#if 0
- LyXFont font(f);
-
- // Info-insets are never LaTeX, so just correct the font
- font.setLatex(LyXFont::OFF).setColor(LColor::note);
-#endif
+
// Draw as "Note" in a yellow box
x += 1;
pain.fillRectangle(int(x), baseline - ascent(bv, labelfont),
if (form->visible) {
fl_raise_form(form);
} else {
- fl_show_form(form, FL_PLACE_MOUSE | FL_FREE_SIZE, FL_FULLBORDER,
+ fl_show_form(form,
+ FL_PLACE_MOUSE | FL_FREE_SIZE, FL_TRANSIENT,
_("Note"));
if (ow < 0) {
ow = form->w;