mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 02:52:10 +00:00
FIX: alignment of tabpanel text
Change-Id: I3c653a2100ee0d1911fad727a059c82b5866456f
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user