From 3793a37b2b22c35d7c359b39170f70817b88038d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 21 Apr 2018 14:17:42 +0200 Subject: [PATCH] Use small buttons in statistics window. --- server/TracyView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index cb8671a8..ab8db2e9 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3808,11 +3808,11 @@ void View::DrawStatistics() ImGui::NextColumn(); ImGui::Text( "Location" ); ImGui::NextColumn(); - if( ImGui::Button( "Total time" ) ) m_statSort = 0; + if( ImGui::SmallButton( "Total time" ) ) m_statSort = 0; ImGui::NextColumn(); - if( ImGui::Button( "Counts" ) ) m_statSort = 1; + if( ImGui::SmallButton( "Counts" ) ) m_statSort = 1; ImGui::NextColumn(); - if( ImGui::Button( "MTPC" ) ) m_statSort = 2; + if( ImGui::SmallButton( "MTPC" ) ) m_statSort = 2; ImGui::SameLine(); ImGui::TextDisabled( "(?)" ); if( ImGui::IsItemHovered() )