Hey guys. I have a wxListBox that I would like to fill an entire
wxPanel. The panel sits inside a wxNoteBook. I have not been able to
get the listbox to fill the entire panel, and I'd hate to use the size
option. I've tried using a wxBoxSizer with many combinations of flags,
but just can't seem to get it to work. Sometimes it spans the page
Verticaly, and sometimes Horizontally...but never both!
-thanks
···
---------------------------------
brian szmyd | s10k utilities
> adic
> 8560 upland dr.
> englewood, co 80112
> 720.249.5921
Hey guys. I have a wxListBox that I would like to fill an entire
wxPanel. The panel sits inside a wxNoteBook. I have not been able to
get the listbox to fill the entire panel, and I'd hate to use the size
option. I've tried using a wxBoxSizer with many combinations of flags,
but just can't seem to get it to work. Sometimes it spans the page
Verticaly, and sometimes Horizontally...but never both!
You need to set both a non-zero proportion as well as use the wxEXPAND flag. For example: