• Re: Tablelist - ellipsis

    From nemethi@21:1/5 to All on Wed Jun 5 20:26:09 2024
    Am 05.06.24 um 18:35 schrieb saito:
    I use tablelist widget to collect some text and display it in a
    row/column cell. Sometimes this text is too big and it messes up the display.  When this happens, it also messes up scrolling with mouse.

    I have used "-snipString" but I don't see any difference in the widget's behavior or appearance.

    Is there a way to apply ellipsis beyond a certain number of characters?
    If the user wants, they can click on the "..." to expand it, but by
    default it should not go beyond a certain size, like 250 characters.

    Check out the -maxwidth column configuration option. Note that the
    expand functionality described by you is not supported.

    --
    Csaba Nemethi https://www.nemethi.de mailto:csaba.nemethi@t-online.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nemethi@21:1/5 to All on Thu Jun 6 10:24:12 2024
    Am 05.06.24 um 22:50 schrieb saito:
    On 6/5/2024 2:26 PM, nemethi wrote:

    Check out the -maxwidth column configuration option.  Note that the
    expand functionality described by you is not supported.



    Thank you. I am still not getting it to work properly. It looks like it
    works only on the first row. Probably my mistake somewhere with the
    options at the moment. Also shorter content in the other columns end up displaying vertically centered, although I am using the column -valign
    option set to top.

    The -maxwidth column configuration option sets the column's maximum
    width, and is tested to work on all rows.

    As described in the reference manual, the -valign column (and cell) configuration option specifies the vertical alignment of embedded images
    and windows only. Due to limitations of the underlying text widget
    there is no way to configure the vertical alignment of the texts
    displayed in the cells (they are always rendered vertically centered).

    --
    Csaba Nemethi https://www.nemethi.de mailto:csaba.nemethi@t-online.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)