Re: Patch: wider name column in list view
- From: guenther <guenther rudersport de>
- To: nautilus-list gnome org
- Subject: Re: Patch: wider name column in list view
- Date: Mon, 02 Apr 2007 17:18:16 +0200
On Mon, 2007-04-02 at 09:09 +0200, Christof Kr�rote:
> On Fri, 2007-03-30 at 23:30 +0200, guenther wrote:
> > Yes, it does.
> >
> > Double-click the separator, and the column will adjust to best fit. It's
> > the very same behavior and UI (double-click) as used in OpenOffice.org
> > spreadsheet, btw.
>
> Unfortunately, it does not work as expected. Double-clicking on the
> separator returns to the default size (16 or 32 characters?) and not to
> the "best fit" which would match the longest file name in most cases.
> (Using version 2.18.0.1)
Oops, forgot to follow-up. Indeed, you're right.
Shortly after my post Kjartan pinged me on IRC, and we found out some
details. Turns out the double-click makes GTK+ (?) set the width to some
default value. On the 2.14.x I had available at the time of the post
this indeed is "best fit", as in no file name is cropped. On later
versions the default is not the same, thus double-clicking will not
resize to best fit, but to the default...
guenther
--
char *t="\10pse\0r\0dtu\0 ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]