ListCtrl in Dialog - AutoSize

Maybe you need to do dialog.Fit() to force the dialog to size itself based on its children.

Werner

···

mawga.games@free.fr wrote:

Hi,

I created a dialog box (wx.Dialog) which contains a control list (ListCtrl with
3 columns), a static line and a "OK Button". These widgets are organized in the
window with a BoxSizer (wx.VERTICAL).

My problem : The "dialog box" size does not fit the size of the "control list"
when it is shown.