From 65d10c219caafc15686b64a8ee19fcb29e149147 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 17 Jun 2009 16:11:53 +0000 Subject: [PATCH 1/1] make sizing of & in the summaryiferizer a bit smaller git-svn-id: svn://localhost/ardour2/branches/3.0@5208 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_summary.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc index 02941456d3..6160dbe17f 100644 --- a/gtk2_ardour/editor_summary.cc +++ b/gtk2_ardour/editor_summary.cc @@ -40,7 +40,7 @@ EditorSummary::EditorSummary (Editor* e) _pixmap (0), _regions_dirty (true), _width (512), - _height (64), + _height (32), _x_scale (1), _y_scale (1), _last_playhead (-1), @@ -202,7 +202,7 @@ EditorSummary::render (cairo_t* cr) _y_scale = static_cast (_height) / h; /* tallest a region should ever be in the summary, in pixels */ - int const tallest_region_pixels = 12; + int const tallest_region_pixels = 4; if (max_height * _y_scale > tallest_region_pixels) { _y_scale = static_cast (tallest_region_pixels) / max_height; @@ -273,7 +273,7 @@ EditorSummary::on_size_request (Gtk::Requisition *req) { /* Use a dummy, small width and the actual height that we want */ req->width = 64; - req->height = 64; + req->height = _height; } /** Handle a size allocation. -- 2.30.2