• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxAutoComplete list width
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AjaxAutoComplete list width


  • Subject: Re: AjaxAutoComplete list width
  • From: "Ricardo J. Parada" <email@hidden>
  • Date: Thu, 09 Apr 2009 13:58:13 -0400

By the way, it worked great!!

Thanks.

On Apr 8, 2009, at 2:31 AM, Ricardo J. Parada wrote:

Awesome... thanks.


On Apr 7, 2009, at 8:14 PM, getsharp wrote:

On 08/04/2009, at 6:27 AM, Ricardo J. Parada wrote:


Is there a way to set the width of the list of matches that an AjaxAutoComplete renders? Right now it seems to always match the width of the text field.

You can achieve it by tweaking css, eg:

.auto_complete ul { width:150px; }


I managed to write some JavaScript that sets the width of the text field to 40px. But when I start typing in that text field I want the list of matches to be ~150px because it includes a long description and 40px makes it wrap around and looks ugly.


Any ideas?

The text field size can be set with a "size = " binding, no javascript required.


Cheers,

Sharpy..


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >AjaxAutoComplete list width (From: "Ricardo J. Parada" <email@hidden>)
 >Re: AjaxAutoComplete list width (From: getsharp <email@hidden>)

  • Prev by Date: Re: [OT] local persistence ORM
  • Next by Date: Re: AjaxModalContainer/Dialog with JS resources
  • Previous by thread: Re: AjaxAutoComplete list width
  • Next by thread: EOEditingContext Lock/Unlock best practice?
  • Index(es):
    • Date
    • Thread