1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Tabs: when scrolling is enabled, track selected tabs when resizing down parent container. (#3421, #8800)

This commit is contained in:
ocornut 2025-07-31 23:39:44 +09:00
parent 3ef6c8410a
commit 320c94bfaa
3 changed files with 10 additions and 0 deletions

View file

@ -60,6 +60,9 @@ Other Changes:
- Tabs: added style.TabMinWidthShrink, ImGuiStyleVar_TabMinWidthShrink to
control the width to shrink to in ImGuiTabBarFlags_FittingPolicyMixed mode.
(#3421, #8800).
- Tabs: when scrolling is enabled, track selected tabs when resizing down
parent container. This does not prevent to horizontally scroll it out of
view during normal operations. (#3421, #8800)
- Tabs: added style.TabMinWidthBase, ImGuiStyleVar_TabMinWidthBase to control
the base minimum width of a tab (default to 1.0f). This is the size before
any potential shrinking is applied.