Smaller nested checkboxes.

This commit is contained in:
Bartosz Taudul 2020-03-16 22:59:54 +01:00
parent 335866be88
commit 4384b812f1

View File

@ -7384,9 +7384,9 @@ void View::DrawOptions()
ImGui::Indent();
val = m_vd.darkenContextSwitches;
#ifdef TRACY_EXTENDED_FONT
ImGui::Checkbox( ICON_FA_MOON " Darken inactive threads", &val );
SmallCheckbox( ICON_FA_MOON " Darken inactive threads", &val );
#else
ImGui::Checkbox( "Darken inactive threads", &val );
SmallCheckbox( "Darken inactive threads", &val );
#endif
m_vd.darkenContextSwitches = val;
ImGui::Unindent();
@ -7400,9 +7400,9 @@ void View::DrawOptions()
ImGui::Indent();
val = m_vd.drawCpuUsageGraph;
#ifdef TRACY_EXTENDED_FONT
ImGui::Checkbox( ICON_FA_SIGNATURE " Draw CPU usage graph", &val );
SmallCheckbox( ICON_FA_SIGNATURE " Draw CPU usage graph", &val );
#else
ImGui::Checkbox( "Draw CPU usage graph", &val );
SmallCheckbox( "Draw CPU usage graph", &val );
#endif
m_vd.drawCpuUsageGraph = val;
ImGui::Unindent();