From af0ad629ca8c2735116ef7810902ac121018bf07 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Sat, 12 Oct 2019 10:31:12 -0700 Subject: [PATCH] Update to fix formatting style for multi-line `if`. --- src/aui/tabart.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aui/tabart.cpp b/src/aui/tabart.cpp index 6987f4f284..a4ffea3806 100644 --- a/src/aui/tabart.cpp +++ b/src/aui/tabart.cpp @@ -1191,8 +1191,10 @@ wxSize wxAuiSimpleTabArt::GetTabSize(wxDC& dc, wxCoord tab_width = measured_textx + tab_height + wnd->FromDIP(5); if (close_button_state != wxAUI_BUTTON_STATE_HIDDEN) + { // increase by button size plus the padding tab_width += wnd->FromDIP(16) + wnd->FromDIP(3); + } if (m_flags & wxAUI_NB_TAB_FIXED_WIDTH) {