-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Open
Description
Version/Branch of Dear ImGui:
Version 1.92.2, Branch: master (master/docking/etc.)
Back-ends:
imgui_impl_DX11.cpp + imgui_impl_WIN32.cpp
Compiler, OS:
win11 + msvc2022
Full config/build information:
Dear ImGui 1.92.2 WIP (19212)
--------------------------------
sizeof(size_t): 8, sizeof(ImDrawIdx): 2, sizeof(ImDrawVert): 20
define: __cplusplus=199711
define: _WIN32
define: _WIN64
define: _MSC_VER=1944
define: _MSVC_LANG=201402
--------------------------------
io.BackendPlatformName: imgui_impl_win32
io.BackendRendererName: imgui_impl_dx11
io.ConfigFlags: 0x00000003
NavEnableKeyboard
NavEnableGamepad
io.ConfigNavCaptureKeyboard
io.ConfigInputTextCursorBlink
io.ConfigWindowsResizeFromEdges
io.ConfigMemoryCompactTimer = 60.0
io.BackendFlags: 0x0000001E
HasMouseCursors
HasSetMousePos
RendererHasVtxOffset
RendererHasTextures
--------------------------------
io.Fonts: 1 fonts, Flags: 0x00000000, TexSize: 512,128
io.Fonts->FontLoaderName: stb_truetype
io.DisplaySize: 1264.00,761.00
io.DisplayFramebufferScale: 1.00,1.00
--------------------------------
style.WindowPadding: 8.00,8.00
style.WindowBorderSize: 1.00
style.FramePadding: 4.00,3.00
style.FrameRounding: 0.00
style.FrameBorderSize: 0.00
style.ItemSpacing: 8.00,4.00
style.ItemInnerSpacing: 4.00,4.00
Details:
When SetCursorPos is set to StartPos, the scroll bar cannot scroll to the bottom.
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
ImGui::SetNextWindowSize(ImVec2(300, 300));
ImGui::Begin("DEMO");
ImGui::SetCursorPos(ImGui::GetCursorStartPos());
ImGui::ShowStyleEditor();
ImGui::End();
ocornut