From de899486d113613e3f05ea1cc54c2f77268630e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 3 Jul 2017 19:17:32 -0700 Subject: [PATCH] Cleanup. --- examples/common/example-glue.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/common/example-glue.cpp b/examples/common/example-glue.cpp index 370d89c56..948085324 100644 --- a/examples/common/example-glue.cpp +++ b/examples/common/example-glue.cpp @@ -50,6 +50,8 @@ void showExampleDialog(entry::AppI* _app) cmdExec(command); } + ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(3.0f, 3.0f) ); + if (ImGui::Button(ICON_FA_REPEAT " Restart" ) ) { cmdExec("app restart"); @@ -72,6 +74,8 @@ void showExampleDialog(entry::AppI* _app) { cmdExec("exit"); } + + ImGui::PopStyleVar(); } #if 0