The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Fix menu in the kerning tab

These changes was commited to the Birdfont repository Mon, 16 Mar 2015 11:13:37 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Mon, 16 Mar 2015 11:13:37 +0000]

Updated Files

libbirdfont/KerningDisplay.vala
libbirdfont/LabelTool.vala
libbirdfont/Toolbox.vala
--- a/libbirdfont/KerningDisplay.vala +++ b/libbirdfont/KerningDisplay.vala @@ -207,6 +207,8 @@ cr.fill (); cr.restore (); } + + cr.restore (); } x += w + kern; @@ -253,6 +255,7 @@ row.remove_at (j); } + cr.fill (); cr.restore (); }
--- a/libbirdfont/LabelTool.vala +++ b/libbirdfont/LabelTool.vala @@ -24,7 +24,7 @@ public bool has_delete_button { get; set; } public signal void delete_action (LabelTool self); - double counter_box_width = 22; + double counter_box_width = 24; double counter_box_height = 11; public LabelTool (string label) { @@ -91,7 +91,7 @@ glyph_count = new Text (); glyph_count.set_text (@"$(this.number)"); - text_height = 13; + text_height = 12; glyph_count.set_font_size (text_height); center_x = bgx + (counter_box_width / 2.0 - glyph_count.get_extent () / 2.0);
--- a/libbirdfont/Toolbox.vala +++ b/libbirdfont/Toolbox.vala @@ -478,7 +478,7 @@ TextArea t; if (tool_tip != null && tool_tip != "") { - t = new TextArea (20 * get_scale ()); + t = new TextArea (15 * get_scale ()); t.allocation = new WidgetAllocation.for_area (0, 0, allocation_width, allocation_height); t.set_editable (false); t.set_text ((!) tool_tip);