add a spacer in case the progress dialog is built without labels (elapsed/estimated/remaining) time nor buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -245,6 +245,9 @@ wxProgressDialog::wxProgressDialog(const wxString& title,
|
||||
buttonSizer->Add(m_btnAbort, 0, sizerFlags, LAYOUT_MARGIN);
|
||||
}
|
||||
|
||||
if (!m_hasSkipButton && !m_hasAbortButton)
|
||||
buttonSizer->AddSpacer(LAYOUT_MARGIN);
|
||||
|
||||
sizerTop->Add(buttonSizer, 0, sizerFlags, LAYOUT_MARGIN );
|
||||
#endif // __SMARTPHONE__/!__SMARTPHONE__
|
||||
|
||||
|
Reference in New Issue
Block a user