[comp.windows.open-look] Panel Lists and fixed width fonts

salc@aristotle.shearson.com (Sal Cataudella) (03/01/91)

Folks,
	thanx for all the help...I've had some success. When i use this
technique:

	xv_set(t_window1.list1,
		PANEL_LIST_STRINGS,
			"row1-col1OOOrow1_col2",
			"row2-col1   row2_col2",
			"row3-col1IIIrow3_col2", NULL,
		PANEL_LIST_FONTS,
			fixedWidthfont, fixedWidthfont, fixedWidthfont,
			 NULL,
		NULL);



It works fine, however I need to insert strings dynamically, (not at
compile time) so if I do this:


   xv_set(t_window1.list1,
	  PANEL_LIST_STRING,0, "row1-col1OOOrow1_col2",
	  PANEL_LIST_FONT, fixedWidthfont,
	  NULL);



   xv_set(t_window1.list1,
	  PANEL_LIST_INSERT,1,
	  PANEL_LIST_STRING,1,  "row2-col1   row2_col2",
	  PANEL_LIST_FONT, fixedWidthfont,
	  NULL);



   xv_set(t_window1.list1,
	  PANEL_LIST_INSERT,2,
	  PANEL_LIST_STRING,2,  "row3-col1IIIrow3_col2",
	  PANEL_LIST_FONT, fixedWidthfont,
	  NULL);


the font does not get modified.

Any ideas? Since I do not know ahead of time how many strings to insert in
the list, I am restricted to inserting them one at a time

thanx, any help is *greatly* appreciated.

--
 Sal Cataudella	
 Internet: salc@alfred.shearson.com
 UUCP:     ...!uunet!slcpi!alfred!salc
 (212) 464-3871