Revert TRIANGLE_WIDTH for mac. Must be a pango/cairo issue on mac.
authorBen Loftis <ben@harrisonconsoles.com>
Wed, 14 Feb 2018 14:15:45 +0000 (08:15 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Wed, 14 Feb 2018 14:15:45 +0000 (08:15 -0600)
gtk2_ardour/editor.cc

index 69dfaab0f8d9f9be629fd599e7a33a22f9bf5cd6..f5404f45e9ee6ffe0456eb796fefb0e3ca6c7fb4 100644 (file)
@@ -224,7 +224,11 @@ static const gchar *_rb_opt_strings[] = {
 #endif
 
 //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)
+#ifdef GTKOSX
+#define COMBO_TRIANGLE_WIDTH 25 // ArdourButton _diameter (11) + 2 * arrow-padding (2*2) + 2 * text-padding (2*5)
+#else
+#define COMBO_TRIANGLE_WIDTH 11 // as-measured for win/linux.
+#endif
 
 Editor::Editor ()
        : PublicEditor (global_hpacker)