[comp.windows.x] Question about HP Row/Column Manager widget

foonberg@antares.aero.org (Alan M. Foonberg) (02/01/89)

I'm a first-time widget user, and I have a question regarding the use of the HP
Row/Column Manager widget.

Using XtSetArg, I have set the following resources:

	XtNlayoutType:	XwMAXIMUM_UNALIGNED
	XtNlayout:	XwMINIMIZE
	XtNmode:	XwN_OF_MANY

I've created 7 children of the row/column manager widget, each of which
is a toggle button.  Each toggle button can have text of a different length, so
some rows in the row/column manager will have more toggle buttons than other
rows.  

All my buttons show up, properly aligned, but the row/column manager is too
tall.  The height appears to depend upon the number of children I've created
regardless of how many can fit on any of the rows.  For example, if row 1 has
buttons 1, 2, 3, and 4, while row 2 has buttons 3, 4, 5, 6, and 7, the
row/column manager should only be 2 rows tall.  Instead, it is 7 rows tall with
5 rows of empty space below the 2 rows in use.

Am I missing something basic here, or is there a problem with how the
row/column manager decides how tall to make itself?

Thanks,

Alan Foonberg
foonberg@aerospace.aero.org