Searched refs:tab_count_same_width (Results 1 – 1 of 1) sorted by relevance
6051 int tab_count_same_width = 1; in TabBarLayout() local6052 while (width_excess > 0.0f && tab_count_same_width < tab_bar->Tabs.Size) in TabBarLayout()6054 …while (tab_count_same_width < tab_bar->Tabs.Size && width_sort_buffer[0].Width == width_sort_buffe… in TabBarLayout()6055 tab_count_same_width++; in TabBarLayout()6056 …move_per_tab_max = (tab_count_same_width < tab_bar->Tabs.Size) ? (width_sort_buffer[0].Width - wid… in TabBarLayout()6057 …float width_to_remove_per_tab = ImMin(width_excess / tab_count_same_width, width_to_remove_per_tab… in TabBarLayout()6058 for (int tab_n = 0; tab_n < tab_count_same_width; tab_n++) in TabBarLayout()6060 width_excess -= width_to_remove_per_tab * tab_count_same_width; in TabBarLayout()