google-code-export / labyrinth

Automatically exported from code.google.com/p/labyrinth
GNU General Public License v2.0
2 stars 0 forks source link

use pango for text ellipsization #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
text is shortened even if there is plenty of space left (see attached
screenshot).

Using pango.ELLIPSIZE_END would fix this problem. For example, with a label:

import pango
label.set_property("ellipsize",pango.ELLIPSIZE_END)

Original issue reported on code.google.com by nekoh...@gmail.com on 17 Apr 2007 at 8:35

Attachments:

GoogleCodeExporter commented 9 years ago
Issue is fixed in SVN Head as part of:
2007-05-15 Don Scorgie <Don@Scorgie.org>

    * src/MainWindow.py:
    * src/Browser.py:
    Don't ellipsize text in Browser while still space available (issue #61)

    * src/MainWindow.py:
    Attempt to reduce "over" movement when scrolling (slightly but not a huge 
    amount better)

    * src/Links.py:
    Fix disappearing thoughts when links selection code fails
    (It still fails, but less so now) Partial fix for issue #62

    * src/MMapArea.py:
    Add initial thought navigation using arrow keys

Note the window title is still ellipsised after 30 characters due to gtk+ 
missing the
option to do this.

Original comment by DonScor...@gmail.com on 15 May 2007 at 9:01

GoogleCodeExporter commented 9 years ago
Are you sure? still seeing text ellipzised at a fixed length in SVN 171.

Original comment by nekoh...@gmail.com on 15 May 2007 at 9:11