[Xastir] Window resizing

Dale Seaburg kg5lt at verizon.net
Mon Apr 6 23:50:02 EDT 2009


OK, after much blood, sweat and tears (just kidding), and a bit of  
reading in the lesstif docs, I finally found where the form's  
resizing was being disabled.  Here is a snippet of what I will  
compile tomorrow evening.  This in the interface_gui.c file:

//	  XtPopup(config_TNC_dialog,XtGrabNone);
//	Enable popup window form resizing.
//	This allows a PC screen whose size is too small for full view of a  
form
//	to display the buttons at the bottom of the form by vertical  
scrolling.
//	4/6/2009 KG5LT
//	  fix_dialog_size(config_TNC_dialog);

In my particular case I could have made a "fix_dialog_hsize()"  
function, to allow vertical scrolling but prevent horizontal  
scrolling.  I may still do that after I make sure my above mentioned  
fix works OK.  The fix_dialog_*() functions are in the main.c file.

Thanks to Curt for the hints where to look in the code.  I was fully  
expecting there to be a form parameter for resizing that would be a  
true/false.  Apparently not so.  That was why it took me so long to  
find the real method used to disable form resizing.  I'm learning,  
slowly by jerks....

73 - Dale.  KG5LT





More information about the Xastir mailing list