• 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: getsharp <email@hidden>
  • Date: Wed, 8 Apr 2009 10:14:02 +1000

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

  • Prev by Date: Re: EOEditingContext Lock/Unlock best practice?
  • Next by Date: Stable Installer Update (5713)
  • Previous by thread: AjaxAutoComplete list width
  • Next by thread: Re: AjaxAutoComplete list width
  • Index(es):
    • Date
    • Thread