Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tablelist config questions

9 views
Skip to first unread message

DrS

unread,
Jan 24, 2012, 4:12:36 PM1/24/12
to
I am not sure these are covered in the documentation:

1) When I select a row (i.e., click on it with the mouse), there is a
rectangle surrounding the entire line. It seems like it only shows on
the active row. Is there a way to remove this or modify it?

2) I like resizable columns. But you can resize a column to zero
meaning that no column label is left showing. I see maxwidth config
options but no minwidth options. Is it possible to set a min width
beyond which a column cannot be shrunk?


Thanks!

DrS

Jeff Godfrey

unread,
Jan 24, 2012, 4:34:53 PM1/24/12
to
On 1/24/2012 3:12 PM, DrS wrote:
> I am not sure these are covered in the documentation:
>
> 1) When I select a row (i.e., click on it with the mouse), there is a
> rectangle surrounding the entire line. It seems like it only shows on
> the active row. Is there a way to remove this or modify it?

It's been a while, but I think you want to set the "-activestyle" option
to "none".

> 2) I like resizable columns. But you can resize a column to zero meaning
> that no column label is left showing. I see maxwidth config options but
> no minwidth options. Is it possible to set a min width beyond which a
> column cannot be shrunk?

Not sure on this one without some experimentation.

Jeff

nemethi

unread,
Jan 24, 2012, 5:07:22 PM1/24/12
to
1. That rectangle corresponds to the default value "frame" of the
-activestyle option. The two other values are "none" and "underline".

2. There is no way to set a minimum width for a column. BTW: The
-maxwidth column configuration option is not related to interactive
column resizing. Instead, it specifies an upper limit for the
automatically computed width of a dynamic-width column. For example, if
the current contents of the column would require a width of 100
average-size characters and the -maxwidth option was set to 30, then
Tablelist will only make the colum's width large enough for 30
average-size characters. This doesn't prevent the user from enlarging
the column interactively.

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

DrS

unread,
Jan 24, 2012, 5:12:44 PM1/24/12
to
On 1/24/2012 5:07 PM, nemethi wrote:
>
> 1. That rectangle corresponds to the default value "frame" of the
> -activestyle option. The two other values are "none" and "underline".
>

I don't see this option listed anywhere. When I try it, it gives me an
error. I have tablelist 5.5. Is this a new option?


> 2. There is no way to set a minimum width for a column. BTW: The
> -maxwidth column configuration option is not related to interactive
> column resizing. Instead, it specifies an upper limit for the



Thanks for the clarification. It is a nice to have but not really critical.


Thanks,

DrS

nemethi

unread,
Jan 24, 2012, 5:26:30 PM1/24/12
to
Am 24.01.2012 23:12, schrieb DrS:
> On 1/24/2012 5:07 PM, nemethi wrote:
>>
>> 1. That rectangle corresponds to the default value "frame" of the
>> -activestyle option. The two other values are "none" and "underline".
>>
>
> I don't see this option listed anywhere. When I try it, it gives me an
> error. I have tablelist 5.5. Is this a new option?
>

Have you looked into the manual? And are you sure you didn't misspell
the option's name?

DrS

unread,
Jan 24, 2012, 5:42:45 PM1/24/12
to
On 1/24/2012 5:26 PM, nemethi wrote:
>
> Have you looked into the manual? And are you sure you didn't misspell
> the option's name?
>

Mea culpa! Yes, it worked. I was using "$t configure ..." command but
this option is only available during the creation time it seems.

Thanks again,

DrS

nemethi

unread,
Jan 24, 2012, 6:01:07 PM1/24/12
to
This is not correct. The option can be set at any time. Try it again! :-)

DrS

unread,
Jan 25, 2012, 10:06:55 AM1/25/12
to
On 1/24/2012 6:01 PM, nemethi wrote:
>
> This is not correct. The option can be set at any time. Try it again! :-)
>

Weird - it works OK now. It must have been a spelling mistake.


Thanks,

DrS
0 new messages