The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Margin for buttons in tool box

These changes was commited to the Birdfont repository Tue, 31 Mar 2015 16:54:43 +0000.

Contributing

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

Updated Files

libbirdfont/Expander.vala
--- a/libbirdfont/Expander.vala +++ b/libbirdfont/Expander.vala @@ -135,18 +135,18 @@ first_row = true; foreach (Tool t in tool) { if (t.tool_is_visible ()) { - new_row = xt + t.w > Toolbox.allocation_width - margin_small; + new_row = xt + t.w > Toolbox.allocation_width - 7 * scale; if (new_row && !first_row) { content_height += previous.h + margin_small; xt = x; - yt += previous.h + margin_small; + yt += previous.h + 7 * scale; } t.x = xt; t.y = yt; - xt += t.w + margin_small; + xt += t.w + 7 * scale; previous = t; first_row = false;