mirror of
https://github.com/wolfpld/tracy
synced 2025-05-02 13:43:52 +00:00
Reduce size of statistics menu controls.
This commit is contained in:
parent
2a61c0a45f
commit
21589a238b
@ -11585,6 +11585,8 @@ void View::DrawStatistics()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 2, 2 ) );
|
||||||
|
|
||||||
if( m_worker.AreCallstackSamplesReady() )
|
if( m_worker.AreCallstackSamplesReady() )
|
||||||
{
|
{
|
||||||
const auto hasSamples = m_worker.GetCallstackSampleCount() > 0;
|
const auto hasSamples = m_worker.GetCallstackSampleCount() > 0;
|
||||||
@ -11619,6 +11621,7 @@ void View::DrawStatistics()
|
|||||||
{
|
{
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
ImGui::PopStyleVar();
|
||||||
ImGui::TextWrapped( "Please wait, computing data..." );
|
ImGui::TextWrapped( "Please wait, computing data..." );
|
||||||
DrawWaitingDots( s_time );
|
DrawWaitingDots( s_time );
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
@ -11702,6 +11705,7 @@ void View::DrawStatistics()
|
|||||||
}
|
}
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
ImGui::PopStyleVar();
|
||||||
|
|
||||||
if( srcloc.empty() )
|
if( srcloc.empty() )
|
||||||
{
|
{
|
||||||
@ -11823,6 +11827,7 @@ void View::DrawStatistics()
|
|||||||
}
|
}
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
ImGui::PopStyleVar();
|
||||||
|
|
||||||
const auto& symMap = m_worker.GetSymbolMap();
|
const auto& symMap = m_worker.GetSymbolMap();
|
||||||
const auto& symStat = m_worker.GetSymbolStats();
|
const auto& symStat = m_worker.GetSymbolStats();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user