[issue10870] Last line of argparse code samples can not be read on Windows
New submission from Baptiste Lepilleur <blep@users.sourceforge.net>: When the code samples from the CHM documentation are displayed, if the lines are too long, a scroll bar is added at the bottom which prevents reading the last line of the code sample. Usually this can be worked-around by making the windows larger, but some examples in the documentation of the argparse are so wide that even in full screen, the window is not wide enough. I attached a screen capture to illustrate the issue (taken from section 14.4.3.3. nargs of Python 3.2b2). This is even worth with one-liner code sample when not browsing full screen (e.g. with the index on the side). Environment: Windows XP SP3, resolution: 1024x768, python 3.2b2. I don't know if it is possible, but adding a blank line at the end of code sample that are more than 80 characters wide would likely work-around the issue. ---------- assignee: docs@python components: Documentation files: argparse-codesample-unreadable.png messages: 125832 nosy: blep, docs@python priority: normal severity: normal status: open title: Last line of argparse code samples can not be read on Windows versions: Python 3.2 Added file: http://bugs.python.org/file20321/argparse-codesample-unreadable.png _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10870> _______________________________________
Georg Brandl <georg@python.org> added the comment: I've shortened the examples in r87890. I'll also investigate why the scrollbar isn't shown below the code. ---------- nosy: +georg.brandl resolution: -> fixed status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10870> _______________________________________
participants (2)
-
Baptiste Lepilleur
-
Georg Brandl