I would have taken a look, but pastebin’s are blocked where I work. Why not attach it to the post? Or better, do what Robin said and make a small runnable example
- Mike
···
On Monday, July 9, 2012 9:06:49 PM UTC-5, Lars Goldschlager wrote:
a) How can I keep the lines in the DataPanel from being grown vertically? (they look like bars right now, not lines!), and if possible how can I make the first block (first 4 rows) in that panel not take more than it needs…
b) After I added and used DataPanel, I can’t close the program, without it hanging, I think it might be mixing self.main_sizer in the class which I read from the main window, with local only pointers (holders? variables?) in the class, but I’m unsure…
c) In the DataPanel the four areas in nested GridBagSizers will have a button to add more “rows” for data entry (copy second row). Is it ok if I use a list “variable” (holder?) in there to hold the pointers to the added labels and text fields? or is there a better way? (And if I do this, to delete a row, do I just unset the pointer and will the Sizer react on a Layout call? I saw no .Del/Remove method.)
d) Finally, what else did I do stupidly or wrong here? what can I improve, from a cleaness and “righteousness” standpoint? Please don’t insult me if it’s at all possible
Ok, here is my main.py:
http://pastebin.com/JFEyYcXy and I want to make 4 questions: