Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

When angry, count four; when very angry, swear. -- Mark Twain, "Pudd'nhead Wilson's Calendar"


comp / comp.lang.tcl / Tablelist - ellipsis

SubjectAuthor
* Tablelist - ellipsissaito
`* Re: Tablelist - ellipsisnemethi
 `* Re: Tablelist - ellipsissaito
  `* Re: Tablelist - ellipsisnemethi
   `- Re: Tablelist - ellipsissaito

1
Subject: Tablelist - ellipsis
From: saito
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Wed, 5 Jun 2024 16:35 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saitology9@gmail.com (saito)
Newsgroups: comp.lang.tcl
Subject: Tablelist - ellipsis
Date: Wed, 5 Jun 2024 12:35:39 -0400
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <v3q44s$11kep$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 05 Jun 2024 18:35:40 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4584050457b1e76b61ae6a60c2d43ed9";
logging-data="1102297"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/lhOOwNFZl/C04bwUixlw"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:R0NjEAmIvwyY9/4mefUkO/ypl9c=
Content-Language: en-US
View all headers

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.

Subject: Re: Tablelist - ellipsis
From: nemethi
Newsgroups: comp.lang.tcl
Date: Wed, 5 Jun 2024 18:26 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: csaba.nemethi@t-online.de (nemethi)
Newsgroups: comp.lang.tcl
Subject: Re: Tablelist - ellipsis
Date: Wed, 5 Jun 2024 20:26:09 +0200
Message-ID: <v3qak1$18n5l$1@tota-refugium.de>
References: <v3q44s$11kep$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 5 Jun 2024 18:26:09 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="1334453"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:whFzlGzGCNK5Lf/rOxvot31o/EE=
X-User-ID: eJwFwQkBwEAIAzBLFCiPHW7gX8ISWiBeejCcx4NpHnpqCuXLrYW4cL686QnWaUMFz5Vm8wMKCxBB
In-Reply-To: <v3q44s$11kep$1@dont-email.me>
Content-Language: en-US
View all headers

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

Subject: Re: Tablelist - ellipsis
From: saito
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Wed, 5 Jun 2024 20:50 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saitology9@gmail.com (saito)
Newsgroups: comp.lang.tcl
Subject: Re: Tablelist - ellipsis
Date: Wed, 5 Jun 2024 16:50:26 -0400
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <v3qj2i$14adm$1@dont-email.me>
References: <v3q44s$11kep$1@dont-email.me> <v3qak1$18n5l$1@tota-refugium.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 05 Jun 2024 22:50:27 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="719225cc518c600aa7c883c2571e026b";
logging-data="1190326"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ckpEqjpZJcgJUGyitZ92O"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:NQDu0Ouk/JqS3QOSaeS9WnIUxnk=
Content-Language: en-US
In-Reply-To: <v3qak1$18n5l$1@tota-refugium.de>
View all headers

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.

Subject: Re: Tablelist - ellipsis
From: nemethi
Newsgroups: comp.lang.tcl
Date: Thu, 6 Jun 2024 08:24 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: csaba.nemethi@t-online.de (nemethi)
Newsgroups: comp.lang.tcl
Subject: Re: Tablelist - ellipsis
Date: Thu, 6 Jun 2024 10:24:12 +0200
Message-ID: <v3rrnc$19iab$1@tota-refugium.de>
References: <v3q44s$11kep$1@dont-email.me> <v3qak1$18n5l$1@tota-refugium.de>
<v3qj2i$14adm$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 6 Jun 2024 08:24:12 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="1362251"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TtZ5+Z4xm//9QAuGuLeSklaR/1I=
In-Reply-To: <v3qj2i$14adm$1@dont-email.me>
X-User-ID: eJwNyMEBwCAIA8CVwBgI46DV/Uew9zwiPHbOYExe3t7oUda1Ph+QuoRt80pGZp7+F3SMs0wgHg+oEAY=
Content-Language: en-US
View all headers

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

Subject: Re: Tablelist - ellipsis
From: saito
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Fri, 7 Jun 2024 01:35 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: saitology9@gmail.com (saito)
Newsgroups: comp.lang.tcl
Subject: Re: Tablelist - ellipsis
Date: Thu, 6 Jun 2024 21:35:49 -0400
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <v3to5l$1oshp$1@dont-email.me>
References: <v3q44s$11kep$1@dont-email.me> <v3qak1$18n5l$1@tota-refugium.de>
<v3qj2i$14adm$1@dont-email.me> <v3rrnc$19iab$1@tota-refugium.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 07 Jun 2024 03:35:50 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a2bbb1476602ea1b4ddf2545a6ceab7d";
logging-data="1864249"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SpqynVQrGGM9ZVU/ke/tf"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:fCNr3VYogjV5CB2wg1F5Q9pOY0c=
In-Reply-To: <v3rrnc$19iab$1@tota-refugium.de>
Content-Language: en-US
View all headers

On 6/6/2024 4:24 AM, nemethi wrote:

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

No problem; thank you for the info. I must have missed this part in the
documentation.

1

rocksolid light 0.9.8
clearnet tor