diff options
author | Robin Gareus <robin@gareus.org> | 2014-09-04 23:16:18 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-09-04 23:16:18 +0200 |
commit | 4030fe2b6657264fbed98adea947f012063fd69d (patch) | |
tree | 292670dae04f0175f9016f5877f3a2cb8fa79f91 /gtk2_ardour/ardour_button.cc | |
parent | 2651bc7e10d8413994961ccd4da4afd09439159b (diff) |
and some more button px tweaks
Diffstat (limited to 'gtk2_ardour/ardour_button.cc')
-rw-r--r-- | gtk2_ardour/ardour_button.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_button.cc b/gtk2_ardour/ardour_button.cc index d8d01bc8e4..2da0aaa4b8 100644 --- a/gtk2_ardour/ardour_button.cc +++ b/gtk2_ardour/ardour_button.cc @@ -41,7 +41,7 @@ #include "i18n.h" -#define BASELINESTRETCH (1.3) +#define BASELINESTRETCH (1.25) using namespace Gdk; using namespace Gtk; @@ -569,7 +569,7 @@ ArdourButton::on_size_request (Gtk::Requisition* req) if (_elements & Indicator) { req->width += lrint (_diameter) + 2 * char_pixel_width(); - req->height = std::max (req->height, (int) lrint (_diameter) + 2); + req->height = std::max (req->height, (int) lrint (_diameter) + 4); } if ((_elements & Menu)) { @@ -584,7 +584,7 @@ ArdourButton::on_size_request (Gtk::Requisition* req) } req->width += ceil(_corner_radius); - req->height += ceil(_corner_radius); + //req->height += ceil(_corner_radius); if (_tweaks & Square) { // squared buttons are also grouped, we cannot align all texts |