amend a99bd289 (button x-axis padding)
authorRobin Gareus <robin@gareus.org>
Wed, 3 Sep 2014 20:17:25 +0000 (22:17 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 3 Sep 2014 20:17:25 +0000 (22:17 +0200)
gtk2_ardour/ardour_button.cc

index 95419179dfd943435db2dae0ac9ff46a86b3df8b..bdc139c4bc77b0a8e1e3502a6369be60ca30ad25 100644 (file)
@@ -582,7 +582,7 @@ ArdourButton::on_size_request (Gtk::Requisition* req)
                _text_height = 0;
        }
 
-       if ((_elements & RecButton) || _pixbuf) {
+       if ((_elements & (RecButton | CloseCross)) || _pixbuf) {
                xpad = 6;
        }