Remove borders from wxStaticBoxSizer items in the widgets sample
This allows to see better whether the borders returned by wxStaticBox::GetBordersForSizer() are correct.
This commit is contained in:
parent
91875045ac
commit
67225fb07e
@ -551,12 +551,12 @@ void StaticWidgetsPage::CreateStatic()
|
||||
isVert ? wxLI_VERTICAL : wxLI_HORIZONTAL);
|
||||
#endif // wxUSE_STATLINE
|
||||
|
||||
m_sizerStatBox->Add(m_statText, 0, wxGROW | wxALL, 5);
|
||||
m_sizerStatBox->Add(m_statText, 0, wxGROW);
|
||||
#if wxUSE_STATLINE
|
||||
m_sizerStatBox->Add(m_statLine, 0, wxGROW | wxALL, 5);
|
||||
m_sizerStatBox->Add(m_statLine, 0, wxGROW | wxTOP | wxBOTTOM, 10);
|
||||
#endif // wxUSE_STATLINE
|
||||
#if wxUSE_MARKUP
|
||||
m_sizerStatBox->Add(m_statMarkup, 0, wxALL, 5);
|
||||
m_sizerStatBox->Add(m_statMarkup);
|
||||
#endif // wxUSE_MARKUP
|
||||
|
||||
m_sizerStatic->Add(m_sizerStatBox, 0, wxGROW);
|
||||
|
Loading…
Reference in New Issue
Block a user