mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 03:58:47 +02:00
CollapsingHeader: When a close button is enabled, better clip the label to avoid overlap. (#600)
This commit is contained in:
@ -361,6 +361,12 @@ enum ImGuiSelectableFlagsPrivate_
|
||||
ImGuiSelectableFlags_AllowItemOverlap = 1 << 24
|
||||
};
|
||||
|
||||
// Extend ImGuiTreeNodeFlags_
|
||||
enum ImGuiTreeNodeFlagsPrivate_
|
||||
{
|
||||
ImGuiTreeNodeFlags_ClipLabelForTrailingButton = 1 << 20
|
||||
};
|
||||
|
||||
enum ImGuiSeparatorFlags_
|
||||
{
|
||||
ImGuiSeparatorFlags_None = 0,
|
||||
|
Reference in New Issue
Block a user