CLIM mail archive


Width of Accepting-value widget

    Date: Thu, 30 Sep 1993 13:54 EDT
    From:     Nichael Cramer <ncramer@BBN.COM>

    Inside an ACCEPTING-VALUES, I do

      (clim:accept 'string
		   :stream stream
		   :default directory
		   :prompt "  Enter directory"
		   :provide-default nil
		   :display-default nil)

    All is well and good and I get my motif input-widget like I should.

    However the input-field is about 1/3 as wide as I need/would like it to be.

Try explicitly supplying the :VIEW arg to accept:

  :VIEW '(TEXT-FIELD-VIEW :WIDTH <whatever>)

I recently made some changes to text fields that make them smart about
picking a "wide enough" field, but since Franz (I assume you are using
Allegro CLIM here) is not code-sharing with anyone these days, you will
have to get them to fix it themselves.  Oh well.

    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)? 

    (Playing with the window size --for example with the :OWN-WINDOW arg
    doesn't seem to help.)


Main Index | Thread Index