RE: [PyCrust] AutoComplete window size
Brought to you by:
pobrien
From: Patrick K. O'B. <po...@or...> - 2001-10-10 22:50:13
|
The latest wxPython beta (2.3.2b5) still generates an autocomplete window that is too narrow for its items. Is this something that can be fixed? Take a look at just about any object in PyCrust to see what I mean. Here is the simplest example. Just type "shell." and scroll through the list: Welcome To PyCrust 0.6.1 - The Flakiest Python Shell Python 2.1.1 (#20, Jul 20 2001, 01:19:29) [MSC 32 bit (Intel)] on win32 Type "copyright", "credits" or "license" for more information. Startup script executed: C:\Code\.pythonrc.py >>> shell. --- Patrick K. O'Brien Orbtech (http://www.orbtech.com) "I am, therefore I think." -----Original Message----- From: pyc...@li... [mailto:pyc...@li...]On Behalf Of Neil Hodgson Sent: Thursday, August 02, 2001 6:05 PM To: pyc...@li... Cc: wxp...@li... Subject: Re: [PyCrust] AutoComplete window size Patrick K. O'Brien: wxSTC questions should really go to the wxPython list so Robin and others can see them. > Is there a way to change the size, particularly the width, of the > auto-completion list window? Some attribute names can be long > and it seems like the window could stand to be a bit wider. The Windows and GTK+ platform layers size the list box to fit the widest string. It looks like the wxSTC platform code (in contrib\stc\contrib\src\stc\PlatWX.cpp) does not do this although there is a call to GetBestSize which may be returning a smaller width than will fit the widest string. Neil _______________________________________________ PyCrust-users mailing list PyC...@li... http://lists.sourceforge.net/lists/listinfo/pycrust-users |