Searched refs:btns_per_row (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/libgdl/
H A Dgdl-switcher.c263 unsigned int btns_per_row; local
303 btns_per_row = allocation.width / (max_btn_width + H_PADDING);
305 if (btns_per_row == 0) btns_per_row = 1;
310 btns_per_row = num_btns;
317 while (num_btns % btns_per_row > 1)
318 btns_per_row--;
321 rows_count = num_btns / btns_per_row;
322 if (num_btns % btns_per_row != 0)
328 if (!icons_only && num_btns % btns_per_row !
[all...]

Completed in 15 milliseconds