FWIW, origin is mentioned in some places :) http://search.cpan.org/grep?cpanid=KARASIK&release=Prima-1.41&string=origin&i=1&n=1&C=9

If I use VB this is what it spits out

package Form1Window; use Prima; use Prima::Classes; use vars qw(@ISA); @ISA = qw(Prima::MainWindow); use Prima::Buttons; sub profile_default { my $def = $_[ 0]-> SUPER::profile_default; my %prf = ( sizeDontCare => 0, origin => [ 362, 145], name => 'Form1', originDontCare => 0, size => [ 401, 239], width => 401, height => 239, left => 362, bottom => 145, designScale => [ 5, 13], ); @$def{keys %prf} = values %prf; return $def; } sub init { my $self = shift; my %instances = map {$_ => {}} qw(); my %profile = $self-> SUPER::init(@_); my %names = ( q(Form1) => $self); $self-> lock; $names{GroupBox1} = $names{Form1}-> insert( qq(Prima::GroupBox) => + name => 'GroupBox1', origin => [ 20, 104], size => [ 148, 132], ); $names{Radio1} = $names{GroupBox1}-> insert( qq(Prima::Radio) => name => 'Radio1', origin => [ 12, 76], size => [ 100, 36], ); $names{Radio2} = $names{GroupBox1}-> insert( qq(Prima::Radio) => origin => [ 12, 36], name => 'Radio2', size => [ 100, 36], ); $self-> unlock; return %profile; } package Form1Auto; use Prima::Application; Form1Window-> create; run Prima;

Messing with the VB options I come upon  geometry => gt::Pack, which when added to your radios makes them show up

Prima::tutorial talks about "pack", as does https://metacpan.org/pod/Prima::Widget#Geometry-managers and Prima::Widget::pack

geometry/sizers/packers/layout is standard GUI vocabulary for this type of thing


In reply to Re^3: Invisible Prima::Radio by Anonymous Monk
in thread Invisible Prima::Radio by over2sd

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.