Combo: added ImGuiComboFlags_WidthFitPreview. (#6881)

This commit is contained in:
mpv-enjoyer
2023-10-09 11:24:52 +02:00
committed by ocornut
parent 001f102f38
commit 112d8fc41d
3 changed files with 4 additions and 1 deletions

View File

@ -1115,6 +1115,7 @@ enum ImGuiComboFlags_
ImGuiComboFlags_HeightLargest = 1 << 4, // As many fitting items as possible
ImGuiComboFlags_NoArrowButton = 1 << 5, // Display on the preview box without the square arrow button
ImGuiComboFlags_NoPreview = 1 << 6, // Display only a square arrow button
ImGuiComboFlags_WidthFitPreview = 1 << 7, // Dynamic width depending on current selected element
ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest,
};