M
Mike Amling
I want to place Buttons of various widths in the area above the main
diagonal of a rectangular Container, something like
------------
| Ab C Def |
|. G Hi J K|
|.. Lm No |
|... Pqr St|
|.... Uvw X|
|..... Y |
|...... |
|....... |
|........ |
|......... |
|..........|
------------
The dots would not be drawn on the screen. I've put them in the
illustration just to show the location of the main diagonal.
I don't know of any way to get FlowLayout to flow into a shape other
than a rectangle. GridLayout could probably be made to work if the
Buttons all had the same width.
Is there a way to do this without placing the Buttons manually or
writing a custom Layout Manager?
--Mike Amling
diagonal of a rectangular Container, something like
------------
| Ab C Def |
|. G Hi J K|
|.. Lm No |
|... Pqr St|
|.... Uvw X|
|..... Y |
|...... |
|....... |
|........ |
|......... |
|..........|
------------
The dots would not be drawn on the screen. I've put them in the
illustration just to show the location of the main diagonal.
I don't know of any way to get FlowLayout to flow into a shape other
than a rectangle. GridLayout could probably be made to work if the
Buttons all had the same width.
Is there a way to do this without placing the Buttons manually or
writing a custom Layout Manager?
--Mike Amling