Increase size of frame left/right buttons.

This commit is contained in:
Bartosz Taudul 2019-02-27 02:26:43 +01:00
parent d08ea6e2bd
commit e20e7caab0

View File

@ -801,9 +801,9 @@ bool View::DrawImpl()
#endif #endif
ImGui::SameLine(); ImGui::SameLine();
#ifdef TRACY_EXTENDED_FONT #ifdef TRACY_EXTENDED_FONT
if( ImGui::SmallButton( ICON_FA_CARET_LEFT ) ) ZoomToPrevFrame(); if( ImGui::SmallButton( " " ICON_FA_CARET_LEFT " " ) ) ZoomToPrevFrame();
#else #else
if( ImGui::SmallButton( "<" ) ) ZoomToPrevFrame(); if( ImGui::SmallButton( " < " ) ) ZoomToPrevFrame();
#endif #endif
ImGui::SameLine(); ImGui::SameLine();
{ {
@ -820,9 +820,9 @@ bool View::DrawImpl()
} }
ImGui::SameLine(); ImGui::SameLine();
#ifdef TRACY_EXTENDED_FONT #ifdef TRACY_EXTENDED_FONT
if( ImGui::SmallButton( ICON_FA_CARET_RIGHT ) ) ZoomToNextFrame(); if( ImGui::SmallButton( " " ICON_FA_CARET_RIGHT " " ) ) ZoomToNextFrame();
#else #else
if( ImGui::SmallButton( ">" ) ) ZoomToNextFrame(); if( ImGui::SmallButton( " > " ) ) ZoomToNextFrame();
#endif #endif
ImGui::SameLine(); ImGui::SameLine();
if( ImGui::BeginCombo( "##frameCombo", nullptr, ImGuiComboFlags_NoPreview ) ) if( ImGui::BeginCombo( "##frameCombo", nullptr, ImGuiComboFlags_NoPreview ) )