Update Mixer-strip width when scaling UI
This commit is contained in:
@@ -426,6 +426,7 @@ MixerStrip::init ()
|
||||
|
||||
parameter_changed (X_("mixer-element-visibility"));
|
||||
UIConfiguration::instance().ParameterChanged.connect (sigc::mem_fun (*this, &MixerStrip::parameter_changed));
|
||||
UIConfiguration::instance().DPIReset.connect (sigc::mem_fun (*this, &MixerStrip::dpi_reset));
|
||||
Config->ParameterChanged.connect (_config_connection, invalidator (*this), std::bind (&MixerStrip::parameter_changed, this, _1), gui_context());
|
||||
_session->config.ParameterChanged.connect (_config_connection, invalidator (*this), std::bind (&MixerStrip::parameter_changed, this, _1), gui_context());
|
||||
|
||||
@@ -788,6 +789,12 @@ MixerStrip::set_stuff_from_route ()
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
MixerStrip::dpi_reset ()
|
||||
{
|
||||
set_width_enum (_width, _width_owner);
|
||||
}
|
||||
|
||||
void
|
||||
MixerStrip::set_width_enum (Width w, void* owner)
|
||||
{
|
||||
|
||||
@@ -281,6 +281,7 @@ private:
|
||||
void route_property_changed (const PBD::PropertyChange&);
|
||||
void name_button_resized (Gtk::Allocation&);
|
||||
void name_changed ();
|
||||
void dpi_reset ();
|
||||
void update_speed_display ();
|
||||
void map_frozen ();
|
||||
void hide_processor_editor (std::weak_ptr<ARDOUR::Processor> processor);
|
||||
|
||||
Reference in New Issue
Block a user