diff options
author | Carl Hetherington <carl@carlh.net> | 2010-11-10 21:56:32 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-11-10 21:56:32 +0000 |
commit | b8da7d196c23a1ad153af7b00e641f5c2573f2c0 (patch) | |
tree | 5aff4d63a19c2299618eabed9fe5e063a7999c2b /gtk2_ardour/time_axis_view.cc | |
parent | ba8b84eed159b5c6282b176ccd488134a9ea5b72 (diff) |
Modified version of Lincoln's patch to stop the summary causing very low track heights. Fixes #3527.
git-svn-id: svn://localhost/ardour2/branches/3.0@7994 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 6d297ef14e..2022783928 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -427,8 +427,12 @@ TimeAxisView::set_height (Height h) } void -TimeAxisView::set_height(uint32_t h) +TimeAxisView::set_height (uint32_t h) { + if (h < preset_height (HeightSmall)) { + h = preset_height (HeightSmall); + } + time_axis_vbox.property_height_request () = h; height = h; |