Tk::Wizard::Installer::Sizer - Interactively determine the best size for your Wizard::Installer
my $wizard = new Tk::Wizard::Installer::Sizer(
# Same arguments as Tk::Wizard::Installer
A typical Wizard application utilizes a fixed-size window; Tk::Wizard follows this philosophy by creating a window without resize handles. In addition, Tk::Wizard allows you to specify the size of the content area. But there's a problem with this mechanism -- how do you know how large to make your window? You know what you want to appear in the window, and you know how you want it to be arranged, but you do not know the dimensions of that combination of elements.
Fret no more, dear programmer! Simply replace your call to Tk::Wizard::Installer->new with a call to Tk::Wizard::Installer::Sizer->new, and run your Wizard application. On each page, adjust the size of the window for best aesthetics. After you click the Next button on each page, on STDOUT will be printed the ideal height and width arguments. After you click the Finish button on the last page, on STDOUT will be printed the ideal dimensions that will contain all your pages (i.e. the width of the widest page and the height of the tallest page).
Create a new Sizer wizard.
Martin Thurn, email@example.com, http://tinyurl.com/nn67z.
To install Tk::Wizard::Sizer, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.