The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Bottom margin in expander

Changes made to libbirdfont/Expander.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/Expander.vala +++ libbirdfont/Expander.vala @@ -152,7 +152,7 @@ t.x = xt; t.y = yt; //content_height += t.h; - yt += t.h + 7 * scale; + yt += t.h + 7 * scale; previous = t; continue; } @@ -166,9 +166,7 @@ xt = x; yt += previous.h; - if (t is LabelTool) { - // yt += 0 * scale; - } else { + if (!(t is LabelTool)) { yt += 7 * scale; } } @@ -186,6 +184,8 @@ first_row = false; } } + + content_height += 5 * scale; } }