Tabs: added TabMinWidthBase, ImGuiStyleVar_TabMinWidthBase.

This commit is contained in:
ocornut
2025-07-31 22:57:11 +09:00
parent 7bb9db501c
commit 7278cda039
6 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -2735,7 +2735,7 @@ struct ImGuiTabItem
int LastFrameSelected; // This allows us to infer an ordered list of the last activated tabs with little maintenance
float Offset; // Position relative to beginning of tab
float Width; // Width currently displayed
float ContentWidth; // Width of label, stored during BeginTabItem() call
float ContentWidth; // Width of label + padding, stored during BeginTabItem() call (misnamed as "Content" would normally imply width of label only)
float RequestedWidth; // Width optionally requested by caller, -1.0f is unused
ImS32 NameOffset; // When Window==NULL, offset to name within parent ImGuiTabBar::TabsNames
ImS16 BeginOrder; // BeginTabItem() order, used to re-order tabs after toggling ImGuiTabBarFlags_Reorderable