[haiku-development] Re: ColumnListView.h

  • From: Ralf Schülke <ralf.schuelke@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 12 Jan 2012 00:09:43 +0100

And what is gerell the problem with the BColumnListView now,
The Licens ?
Too Bugy
ore what?

Oters, i found from u++ framework the ColumnList
https://gitorious.org/upp/upp/blobs/master/uppsrc/CtrlLib/ColumnList.h
https://gitorious.org/upp/upp/blobs/master/uppsrc/CtrlLib/ColumnList.cpp

and
https://gitorious.org/upp/upp/blobs/master/uppsrc/CtrlLib/ArrayCtrl.h
https://gitorious.org/upp/upp/blobs/master/uppsrc/CtrlLib/ArrayCtrl.<https://gitorious.org/upp/upp/blobs/master/uppsrc/CtrlLib/ArrayCtrl.h>
cpp

Ralf

2012/1/11 Stephan Aßmus <superstippi@xxxxxx>

> Am 11.01.2012 14:43, schrieb Ingo Weinhold:
>
>  On 2012-01-11 at 11:16:27 [+0100], Axel Dörfler<axeld@xxxxxxxxxxxxxxxx**>
>> wrote:
>>
>>> Stephan Aßmus<superstippi@xxxxxx>  wrote:
>>>
>>>> Actually, in practice one usually wants a mix of weighted widths and
>>>> fixed widths.
>>>>
>>>
>> I don't recall having seen any table/column list API that does a weighted
>> column width layout. They require the API user to specify a width for each
>> column (respectively use some default) and they provide some method to
>> explicitly set a column to the minimum width to fit all cells in it. I
>> believe resizing the view usually doesn't resize any column (or only the
>> last). That doesn't mean that we can't implement a weighted column layout,
>> but I suppose there's a reason why no one else does.
>>
>
> SWT most certainly offers this feature. IIRC, Nautilus behaves so that I
> think GTK offers it as well. Generally wouldn't it be a likely situation
> that one can make good use of any extra space in certain columns while
> others should have a fixed width?
>
> The rest of what you say makes perfect sense. :-D
>
> Best regards,
> -Stephan
>
>

Other related posts: