|
|
|
@ -10050,10 +10050,10 @@ void ImGui::BeginColumns(const char* id, int columns_count, ImGuiColumnsFlags fl
|
|
|
|
|
window->DC.ColumnsCount = columns_count;
|
|
|
|
|
window->DC.ColumnsFlags = flags;
|
|
|
|
|
|
|
|
|
|
const float content_region_width = (window->SizeContentsExplicit.x != 0.0f) ? window->SizeContentsExplicit.x : window->Size.x;
|
|
|
|
|
const float content_region_width = (window->SizeContentsExplicit.x != 0.0f) ? (window->SizeContentsExplicit.x) : (window->Size.x -window->ScrollbarSizes.x);
|
|
|
|
|
window->DC.ColumnsMinX = window->DC.IndentX - g.Style.ItemSpacing.x; // Lock our horizontal range
|
|
|
|
|
//window->DC.ColumnsMaxX = content_region_width - window->Scroll.x -((window->Flags & ImGuiWindowFlags_NoScrollbar) ? 0 : g.Style.ScrollbarSize);// - window->WindowPadding().x;
|
|
|
|
|
window->DC.ColumnsMaxX = content_region_width - window->Scroll.x - window->ScrollbarSizes.x;
|
|
|
|
|
window->DC.ColumnsMaxX = content_region_width - window->Scroll.x;
|
|
|
|
|
window->DC.ColumnsStartPosY = window->DC.CursorPos.y;
|
|
|
|
|
window->DC.ColumnsStartMaxPosX = window->DC.CursorMaxPos.x;
|
|
|
|
|
window->DC.ColumnsCellMinY = window->DC.ColumnsCellMaxY = window->DC.CursorPos.y;
|
|
|
|
|