X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fxio.c;h=a84ee44192a077809e8da3bb7be703b3a89fa84b;hp=ed095115cc696fa2e65553a1eb071bd357b22e95;hb=a4e2f7b1e48278ae7642c8fda987a67fe8674420;hpb=3d0b2461fe5709cec1c27a1935dc07b635a8bd31 diff --git a/src/xio.c b/src/xio.c index ed09511..a84ee44 100644 --- a/src/xio.c +++ b/src/xio.c @@ -16,6 +16,9 @@ String fallback[] = { "*photons.label: Torps", "*destruct.label: Destruct", "*quit.label: Quit", + /* text window resources */ + "*text.resizable: true", + "*text.resize: ResizeBoth", /* layout constraints */ "*photons.fromHoriz: phasers", "*destruct.fromHoriz: photons", @@ -54,8 +57,7 @@ int main (int argc, char **argv) /* the command window */ text = XtVaCreateManagedWidget ("text", asciiTextWidgetClass, form, XtNfromVert, buttons, - XtNresize, XawtextResizeBoth, - XtNresizable, True, NULL); + NULL); /* sample text so the widget will be identifiable */ XtVaSetValues (text, XtNtype, XawAsciiString,