From 6cca669c9adc4dbf89df3e003c43f7ae992af135 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 13 Feb 2018 08:17:46 -0600 Subject: COMBO_TRIANGLE_WIDTH should be an odd value. --- gtk2_ardour/editor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/editor.cc') diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 748eb6d23b..69dfaab0f8 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -223,7 +223,8 @@ static const gchar *_rb_opt_strings[] = { }; #endif -#define COMBO_TRIANGLE_WIDTH 10 // as-measured. was 25: ArdourButton _diameter (11) + 2 * arrow-padding (2*2) + 2 * text-padding (2*5) +//Robin says: this should be odd to accomodate cairo drawing offset ( width/2 rounds up to pixel boundary ) +#define COMBO_TRIANGLE_WIDTH 11 // as-measured. was 25: ArdourButton _diameter (11) + 2 * arrow-padding (2*2) + 2 * text-padding (2*5) Editor::Editor () : PublicEditor (global_hpacker) -- cgit v1.2.3