Alec,
Alec Bennett wrote:
Thanks, this works beautifully.
But I'm still curious about how to combine a ScrolledWindow with other widgets... Is it possible
to have some other element like, for example, a toolbar placed the way I was placing it, above a
scrolledwindow?
yes, one should use a panel again, for consistent background on the different platforms (I gave it a border, but normally I would not do this as it lets the frame "show throug").
For example, there's certain formatting that I can't get for the toolbar (centeting the elements
mainly), so I was going to just use a boxsizer placed on top of the scrolledwindow. Is this
possible?
When I did it I could not get it to size correctly, that is why I tried it with scrolledPanel instead, but that was not my problem. So, I added the InspectionTool in (you can access it with ctrl-alt-I), to see what was not sizing correctly, and what I forgotten to do was the "AddGrowablexxx) calls for the flexgrid (I used it as it gives you more flexibility with widgets of different sizes).
See attached for the result.
Werner
sizerproblem.py (2.24 KB)