mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-26 21:47:00 +00:00
Tweak button sizes
This commit is contained in:
parent
e8cb874afe
commit
99c5f5735c
@ -11801,7 +11801,7 @@ void ImGui::ShowTestWindow(bool* opened)
|
|||||||
ImGui::NextColumn();
|
ImGui::NextColumn();
|
||||||
char buf[32];
|
char buf[32];
|
||||||
sprintf(buf, "%08x", i*5731);
|
sprintf(buf, "%08x", i*5731);
|
||||||
ImGui::Button(buf);
|
ImGui::Button(buf, ImVec2(ImGui::GetContentRegionMax().x - ImGui::GetCursorPosX(), 0.0f));
|
||||||
}
|
}
|
||||||
ImGui::EndChild();
|
ImGui::EndChild();
|
||||||
ImGui::PopStyleVar();
|
ImGui::PopStyleVar();
|
||||||
|
Loading…
Reference in New Issue
Block a user