The Birdfont Source Code
Fix text are height
These changes was commited to the Birdfont repository Tue, 31 Mar 2015 17:02:44 +0000.
Contributing
Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
Fix text are height
--- a/libbirdfont/Renderer/TextArea.vala
+++ b/libbirdfont/Renderer/TextArea.vala
@@ -992,7 +992,7 @@
cr.save ();
cr.set_line_width (1);
Theme.color (cr, "Text Area Background");
- draw_rounded_rectangle (cr, x, y, this.width, this.height, padding);
+ draw_rounded_rectangle (cr, x, y, this.width, this.height - padding, padding);
cr.fill ();
cr.restore ();
@@ -1000,7 +1000,7 @@
cr.save ();
cr.set_line_width (1);
Theme.color (cr, "Foreground 1");
- draw_rounded_rectangle (cr, x, y, this.width, this.height, padding);
+ draw_rounded_rectangle (cr, x, y, this.width, this.height - padding, padding);
cr.stroke ();
cr.restore ();
}