Tweak button sizes

This commit is contained in:
ocornut 2015-07-17 07:08:51 -06:00
parent e8cb874afe
commit 99c5f5735c

View File

@ -11801,7 +11801,7 @@ void ImGui::ShowTestWindow(bool* opened)
ImGui::NextColumn();
char buf[32];
sprintf(buf, "%08x", i*5731);
ImGui::Button(buf);
ImGui::Button(buf, ImVec2(ImGui::GetContentRegionMax().x - ImGui::GetCursorPosX(), 0.0f));
}
ImGui::EndChild();
ImGui::PopStyleVar();