mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-19 06:41:14 -06:00
FIX: alignment of tabpanel text
Change-Id: I3c653a2100ee0d1911fad727a059c82b5866456f
This commit is contained in:
parent
0162fceb98
commit
4831506422
6 changed files with 23 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue