G'day michael99,
I can't tell exactly the layout you're aiming for.
A little bit of simple ASCII art can help to explain what you want.
For instance, you currently have something along these lines:
+--+
|A1|
|A2|
|A3|
|B1|
|C1|
|C2|
+--+
Do any of these look like what you ultimately want?
+--------+ +--------+ +-----+
|A1|A2|A3| |A1|B1|C1| |A1|B1|
|B1| | | |A2| |C2| |A2|C1|
|C1|C2| | |A3| | | |A3|C2|
+--------+ +--------+ +-----+
Here's a couple of tentative suggestions:
-
Perhaps changing the geometry manager from
Tk::pack to
Tk::grid
might be helpful.
-
As you talk about the checkbuttons being in columns,
perhaps Tk::HList
would be a useful option.
If you run the widget demo
— in case you don't know, that's just widget from the command line —
you'll find an example (GUI demo and code) of doing this. It's under:
Tix Widgets
...
Multicolumn listbox ...
With more information from you, better suggestions may present themselves.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.