Menu

#45 HorizontalLayoutContainer /w spacers and GridLayoutContainer

open
nobody
5
2005-03-04
2005-03-04
No

Marcello:
I think that was Doug Tinkham to implemente hte
Controls example with its Spacers ( VerticalSpacer, and
HorizontalSpacer )
I find them very useful classes.

Jim:
You can, but a better approach (IMHO) would be to write
(or enhance) a Container class. For example, the
HorizontalLayoutContainer class would be a good
starting point.

Another way would to to write a GridLayoutContainer
class that allowed you to specify a table like layout,
with either pixel values or percentages for column and
row sizes.

Marcello:
Ok but when the layout problem is very simple, the
Layout container needs to be able to manage it in a
simple way too.
See for example your PropertyViewer in VCFB on the
description area.:

Discussion


Log in to post a comment.

MongoDB Logo MongoDB