13
0

Fix mantis 2698, track heights expand on opening the prefs dialog.

git-svn-id: svn://localhost/ardour2/branches/3.0@5253 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-23 00:57:58 +00:00
parent 76a4b16742
commit 915b05a335

View File

@ -711,7 +711,7 @@ public:
_dpi_adjustment (50, 50, 250, 1, 10),
_dpi_slider (_dpi_adjustment)
{
_dpi_adjustment.set_value (_rc_config->get_font_scale ());
_dpi_adjustment.set_value (_rc_config->get_font_scale () / 1024);
Label* l = manage (new Label (_("Font scaling:")));
l->set_name ("OptionsLabel");
@ -730,7 +730,7 @@ public:
void parameter_changed (string const & p)
{
if (p == "font-scale") {
_dpi_adjustment.set_value (_rc_config->get_font_scale() / 1024.);
_dpi_adjustment.set_value (_rc_config->get_font_scale() / 1024);
}
}