* Mark Tarver <
dr.mtarver@gmail.com>
| I've packed some buttons pack .b1 .b2 -side left.
| A bit later I want to pack .b3 and .b4 also from left to right
| but below .b3 and .b4. I don't want to use grid.
| But pack .b3 .b4 - side left packs in a single row.
| How do I get a 'new line' in there?
Using grid would be the simplest way, but if you don't want to use grid,
you need to use "helper frames":
---frame1--------
button1 | button2
-----------------
---frame2--------
button3 | button4
-----------------
pack [frame .f1] -side top -fill both -expand yes
pack [button .f1.b1 -text F1B1] -side left -fill both -expand yes
pack [button .f1.b2 -text F1B2] -side left -fill both -expand yes
pack [frame .f2] -side top -fill both -expand yes
pack [button .f2.b3 -text F2B3] -side left -fill both -expand yes
pack [button .f2.b4 -text F2B4] -side left -fill both -expand yes
HTH
R'
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)