1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Use small buttons in statistics window.

This commit is contained in:
Bartosz Taudul 2018-04-21 14:17:42 +02:00
parent 645f312166
commit 3793a37b2b

View File

@ -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() )