summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-06-17 16:11:53 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-06-17 16:11:53 +0000
commit65d10c219caafc15686b64a8ee19fcb29e149147 (patch)
tree96f8783c4321929a9397254d2f0e3dec8ebc216b /gtk2_ardour/editor_summary.cc
parent1e8047f0ed022b617716184450479e39dead058d (diff)
make sizing of & in the summaryiferizer a bit smaller
git-svn-id: svn://localhost/ardour2/branches/3.0@5208 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.cc')
-rw-r--r--gtk2_ardour/editor_summary.cc6
1 files 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<double> (_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<double> (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.