CLIM mail archive

[Prev][Next][Index][Thread]

Re: Width of Accepting-value widget



Nichael Cramer <ncramer@bbn.com> writes:
 > However the input-field is about 1/3 as wide as I need/would like it to be.
 > 
 > Do I have any control over the size of this thing at this level (or do I
 > need to go in and lay them out myself)? 

You can change the width of the window using the :width option.

(defun get-string-data (message &optional (default nil))
  (let ((stream (frame-standard-output *application-frame*))
	(val nil))
    (accepting-values (stream :own-window t
			      :width 500)
       (accept 'string
	       :prompt message
	       :default default
	       :stream stream))))


--Whitney






Main Index | Thread Index