Mark Halegua
2014-09-11 17:40:30 UTC
I've created a button bar I want to reuse as class and want to nest it in
another boxsizer where eventually another button bar will go. When I do
these two button bars directly in the panel, they come out correctly, one
below the other, and both below some static text and some entry fields.
When I try to place the button bar class in, it goes only partially to the
top of the panel. I have no idea why it's doing this.
I will attach the code for the two files so you can see what's happening.
In the file table_entry2.py you can see how I created two button series and
placed them in BoxSizers horinontally, then added them to another boxsizer,
mainsizer. When I do each button series without refactoring they work
fine. However, nav_butn.py is an attempt (it seems successful to a point)
of creating a class for the navigation buttons. I return them to
table_entry2, but it doesn't place the button bar at the bottom, either
before or after the action buttons or under the static text and the fields.
Can anyone explain this behavior?
Thanks
Mark
another boxsizer where eventually another button bar will go. When I do
these two button bars directly in the panel, they come out correctly, one
below the other, and both below some static text and some entry fields.
When I try to place the button bar class in, it goes only partially to the
top of the panel. I have no idea why it's doing this.
I will attach the code for the two files so you can see what's happening.
In the file table_entry2.py you can see how I created two button series and
placed them in BoxSizers horinontally, then added them to another boxsizer,
mainsizer. When I do each button series without refactoring they work
fine. However, nav_butn.py is an attempt (it seems successful to a point)
of creating a class for the navigation buttons. I return them to
table_entry2, but it doesn't place the button bar at the bottom, either
before or after the action buttons or under the static text and the fields.
Can anyone explain this behavior?
Thanks
Mark
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.