The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Revert "Stroke settings"

Changes made to libbirdfont/OverView.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/OverView.vala +++ libbirdfont/OverView.vala @@ -465,13 +465,11 @@ } void draw_empty_canvas (WidgetAllocation allocation, Context cr) { - Text t = new Text (t_("No glyphs in this view."), 24); - cr.save (); - Theme.text_color (t, "Text Foreground"); - t.widget_x = 40; - t.widget_y = 40; - t.draw (cr); + Theme.color (cr, "Default Background"); + cr.move_to (30, 40); + cr.set_font_size (18); + cr.show_text (t_("No glyphs in this view.")); cr.restore (); }