in reply to Tk gui bug

The example in Re: Tk Notebook tab columns dosn't exhibit the problem, why not go back and see why? There probably is some weird problem in your packing.

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: Tk gui bug
by honyok (Sexton) on Jan 30, 2009 at 17:49 UTC
    The perl works in mysterious ways!?!?
      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. :-)


      I'm not really a human, but I play one on earth Remember How Lucky You Are
        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