carlson@aftac.tis.llnl.gov (John Carlson) (07/12/88)
I am working on an application which needs a simple spreadsheet or table. The rows and colums will adjust size automatically depending on what is typed in or deleted. After looking through the Athena Widgets (Xaw) and HP Widgets (Xhpw), I decided to use XwrowColWidgetClass from Xhpw. I created a bunch of text widgets (XwtexteditWidgetClass) in 2 rows by 5 columns. The text widgets can already grow to fit the text in them. My problems are: (1) The text widgets don't shrink if I delete text. (When the mouse leaves the widget & # new char < # old char, do a resize) (2) The text widgets in a column aren't the same width. (3) The text widgets in a row aren't the same height. Before I start developing subclasses of Xwtextedit and XwrowCol, are there widget classes available to do what I want? In any toolkit (CLUE Andrew)? Hurry, I'll be working on it today :-). John Carlson carlson@aftac.tis.llnl.gov