You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add a button next to the title of a Dear ImGui window, but I'm unable to achieve this directly using the provided functions.
Steps to Reproduce:
1. Attempt to add a button next to the title of a Dear ImGui window using the available functions.
2. Notice that the button appears below the title instead of next to it.
Expected Behavior:
I expect to be able to place a button directly adjacent to the title of a Dear ImGui window, similar to the functionality commonly seen in user interfaces.
Actual Behavior:
The button appears below the title of the window, rather than next to it.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
// Here's some code anyone can copy and paste to reproduce your issueImGui::Begin("Example Bug");
ImGui::SameLine(ImGui::GetWindowWidth() - ImGui::GetTextLineHeight());
if (ImGui::Button("+"))
{
// Button action
}
ImGui::End();
The text was updated successfully, but these errors were encountered:
Version/Branch of Dear ImGui:
1.90.5, Branch: docking
Back-ends:
rlImGui
Compiler, OS:
G++; Linux Mint
Full config/build information:
No response
Details:
My Issue/Question:
I'm trying to add a button next to the title of a Dear ImGui window, but I'm unable to achieve this directly using the provided functions.
Steps to Reproduce:
Expected Behavior:
I expect to be able to place a button directly adjacent to the title of a Dear ImGui window, similar to the functionality commonly seen in user interfaces.
Actual Behavior:
The button appears below the title of the window, rather than next to it.
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
The text was updated successfully, but these errors were encountered: