According the CPAN Testers I'm more likely to have success with 1.74 (penultimate version) than 1.75 (current version). Actually, if I use force I can install 1.74 against Strawberry 5.22 at work. Does this do what you want:

use Prima qw(Application Label InputLine); my $main = Prima::MainWindow->create( text => 'Configuration', backColor => cl::White, menuItems => [ ['~File' => [['~Quit' => 'Ctrl+Q', '^Q', sub { $::application->close } ], ], ], ] ); my $fps = $main->insert( Widget => pack => { side => 'top' }, ); $fps->insert( Label => text => 'Refresh rate: ', width => 200, pack => { side => 'left' }, ); $fps->insert( InputLine => text => '60', width => 100, pack => { side => 'left' }, ); $fps->insert( Label => text => 'FPS', width => 50, pack => { side => 'left' }, ); my $res = $main->insert( Widget => pack => { side => 'top' }, ); $res->insert( Label => text => "Spectral resolution", width => 200, pack => { side => 'left' }, ); $res->insert( InputLine => text => '10', width => 100, pack => { side => 'left' }, ); $res->insert( Label => text => 'Hz', width => 50, pack => { side => 'left' }, ); my $limit = $main->insert( Widget => pack => { side => 'top' }, ); $limit->insert( Label => text => "Show spectrum up to", width => 200, pack => { side => 'left' }, ); $limit->insert( InputLine => text => '5000', width => 100, pack => { side => 'left' }, ); $limit->insert( Label => text => 'Hz', width => 50, pack => { side => 'left' }, ); Prima->run;

Update: Sorry, forgot about the "no counting pixels" criteria.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

In reply to Re^5: Prima: How to get a "table" layout? by GrandFather
in thread Prima: How to get a "table" layout? by haj

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.