Home
last modified time | relevance | path

Searched refs:count_same_width (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/imgui/
Dimgui_widgets.cpp1511 int count_same_width = 1; in ShrinkWidths() local
1512 while (width_excess > 0.0f && count_same_width < count) in ShrinkWidths()
1514 while (count_same_width < count && items[0].Width <= items[count_same_width].Width) in ShrinkWidths()
1515 count_same_width++; in ShrinkWidths()
1516 …to_remove_per_item = (count_same_width < count && items[count_same_width].Width >= 0.0f) ? (items[… in ShrinkWidths()
1519 …float width_to_remove_per_item = ImMin(width_excess / count_same_width, max_width_to_remove_per_it… in ShrinkWidths()
1520 for (int item_n = 0; item_n < count_same_width; item_n++) in ShrinkWidths()
1522 width_excess -= width_to_remove_per_item * count_same_width; in ShrinkWidths()