CloseButton, InputText: scale thickness to integer amount when using style.ScaleAllSizes(). (#7031)

This commit is contained in:
ocornut
2026-02-25 22:10:41 +01:00
parent 650eca386e
commit c40226e9de
2 changed files with 12 additions and 5 deletions

View File

@@ -60,7 +60,14 @@ Other Changes:
- InputText:
- Shift+Enter in multi-line editor always adds a new line, regardless of
ImGuiInputTextFlags_CtrlEnterForNewLine being set or not. (#9239)
- Style: border sizes are now scaled (and rounded) by ScaleAllSizes().
- Style:
- Border sizes are now scaled (and rounded) by ScaleAllSizes().
- When using large values with ScallAllSizes(), the following items thickness
are scaled to integer amounts:
- InputText Caret/cursor thickness. (#7031)
- CloseButton() thickness.
- TextLink() underline thickness.
- ColorButton() border.
- Demo: fixed IMGUI_DEMO_MARKER locations for examples applets. (#9261, #3689) [@pthom]
- Clipper:
- Clear `DisplayStart`/`DisplayEnd` fields when `Step()` returns false.