InstrumentSwitch was missing a setting for side-axis, which
caused a not very helpful warning "side-axis not set." on the
command line.
I now added the side-axis setting for the InstrumentSwitch and
also changed the warning message to include the type of grob
for which the setting is missing.
Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
if (scm_is_number (me->get_property ("side-axis")))
return Axis (scm_to_int (me->get_property ("side-axis")));
- me->programming_error ("side-axis not set.");
+ string msg = String_convert::form_string ("side-axis not set for grob %s.",
+ me->name ().c_str ());
+ me->programming_error (msg);
return NO_AXES;
}
(X-offset . ,ly:self-alignment-interface::x-aligned-on-self)
(staff-padding . 2)
(direction . ,UP)
+ (side-axis . ,Y)
(self-alignment-X . ,CENTER)
(meta . ((class . Item)
(interfaces . (side-position-interface