imgui
imgui copied to clipboard
LabelText can't auto set item size
Version/Branch of Dear ImGui:
Version 1.90.5
Back-ends:
imgui_impl_dx11.cpp + imgui_impl_win32.cpp
Compiler, OS:
Windows 10 + VS2019
Full config/build information:
No response
Details:
LabelText can't auto set item size, but Text or Button in normal
Screenshots/Video:
Minimal, Complete and Verifiable Example code:
ImGui::Begin("One");
ImGui::Text("1234567890-1234567890-1234567890-1234567890");
ImGui::Text("1234567890-1234567890-1234567890-1234567890");
ImGui::End();
ImGui::Begin("Two");
ImGui::LabelText("Label", "1234567890-1234567890-1234567890-1234567890");
ImGui::LabelText("Label", "1234567890-1234567890-1234567890-1234567890");
ImGui::End();