Yes, some side effects to using such powerful widgets
···
On Friday 15 December 2006 13:41, Robin Dunn wrote:
Philippe C. Martin wrote:
> On Thursday 14 December 2006 17:24, Philippe C. Martin wrote:
>> Hi,
>>
>> I have indeed made two modifications at the same time which confused the
>> issue.
>>
>> I now have a frame with a notebook with two pages.
>>
>> The first page has a panel with a pycrust shell and the second one a
>> panel with pycrust editor - I'm still clearly not on top of the sizers
>> ...
>>
>> The pannels do strech with the notebook, but I cannot get the pycrust
>> widget to followThe notebook will automatically size and position the page widgets
(whatever you pass to AddPage()) but if those page widgets have children
then it is up to them to manage their position and sizes. The normal
way to do this is to give the page widget a sizer and add those items to
the sizer. In your case you can also not use the panel for the notebook
page, and instead use the pycrust widgets as the notebook page.
--
_________________________
Philippe C. Martin
www.snakecard.com
_________________________