FIX: alignment of tabpanel text

Change-Id: I3c653a2100ee0d1911fad727a059c82b5866456f
This commit is contained in:
liz.li 2023-07-05 15:48:26 +08:00 committed by Lane.Wei
parent 0162fceb98
commit 4831506422
6 changed files with 23 additions and 1 deletions

View file

@ -176,6 +176,16 @@ wxString TabButtonsListCtrl::GetPageText(size_t n) const
return btn->GetLabel();
}
const wxSize& TabButtonsListCtrl::GetPaddingSize(size_t n) {
return m_pageButtons[n]->GetPaddingSize();
}
void TabButtonsListCtrl::SetPaddingSize(const wxSize& size) {
for (auto& btn : m_pageButtons) {
btn->SetPaddingSize(size);
}
}
//#endif // _WIN32