COMBO_TRIANGLE_WIDTH should be an odd value.
authorBen Loftis <ben@harrisonconsoles.com>
Tue, 13 Feb 2018 14:17:46 +0000 (08:17 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Tue, 13 Feb 2018 14:17:46 +0000 (08:17 -0600)
gtk2_ardour/editor.cc

index 748eb6d23bb25466e95bf1cd19844c72b10d3479..69dfaab0f8d9f9be629fd599e7a33a22f9bf5cd6 100644 (file)
@@ -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)