It's not Perl...it's Tk mucking up, that's why I concentrate on Gtk2 now. :-) I was toying with it, using all the tricks I know, but no go. There is the -dynamicgeometry option for the NoteBook, and it seems to address the problem, but it has no effect. Usually with the Notebook, when it acts up from tab to tab, you need to set a -raisecmd option to adjust the geometry (like a $mw->update) when a tab is raised...but it dosn't work in this case.I notice that you have alot of nested packing with anchors, and all the other packing options, that seem to be messing with the Scrolled Pane's scrollbars. To be honest, I would go back to the example I mentioned earlier, that dosn't crush the tabs, and try to work your data set into that model. Or switch to Gtk2. :-)
| [reply] |
In the midst of my preparation for hari-kari, I dropped the PACK from the following line and the problem ceased.
my $tab_tab=$book->add("Sheet $tab_cnt", -label =>"$tab")->pack(-expan
+d=>1,-fill=>'both');
It's currently running as expected. Thank you for all your help. I'm sure I will be back... soon.
-honyok | [reply] [d/l] |
Good catch..... of course you can't pack a page add....I regret not seeing that. The question now is "why didn't Tk throw an error"? It usually throws an error when a packing error occurs.
| [reply] |