projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff5b658
)
tweak button text y-alignment
author
Robin Gareus
<robin@gareus.org>
Mon, 8 Sep 2014 22:43:32 +0000
(
00:43
+0200)
committer
Robin Gareus
<robin@gareus.org>
Mon, 8 Sep 2014 22:43:32 +0000
(
00:43
+0200)
gtk2_ardour/ardour_button.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_button.cc
b/gtk2_ardour/ardour_button.cc
index f2d6d142e7e6f113d8e5a36f5c002d3426ad0349..84708feb2f91ee93f7690e4cffb9eb0f4c5e3115 100644
(file)
--- a/
gtk2_ardour/ardour_button.cc
+++ b/
gtk2_ardour/ardour_button.cc
@@
-426,7
+426,7
@@
ArdourButton::render (cairo_t* cr, cairo_rectangle_t *)
*/
if (_xalign < 0) xa = ceil(.5 + (ww * fabs(_xalign) + text_margin));
- cairo_move_to (cr, xa,
ya
);
+ cairo_move_to (cr, xa,
floor(ya)
);
pango_cairo_update_layout(cr, _layout->gobj());
pango_cairo_show_layout (cr, _layout->gobj());
cairo_restore (cr);