Re: [Fxruby-users] layout probs with TreeList.
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <jl...@cf...> - 2003-07-16 14:56:59
|
Hugh Sasse Staff Elec Eng wrote:
>> Similarly, change the layout hints on the tree list so that it stretches
>> in both the x and y directions:
>>
>> @treeview[""].listStyle |=
> [...]
>> LAYOUT_FILL_X|LAYOUT_FILL_Y)
>
> OK, so the problem is not due to using that ATTR to do the job,
> anyway....
Whoops, yes, that is a problem. My mistake. The 'listStyle' attribute
only deals with the treelist-specific options (e.g.
TREELIST_SHOWS_LINES). So let's break that line up into:
@treeview[""].listStyle |=
TREELIST_SHOWS_LINES|TREELIST_SHOWS_BOXES|TREELIST_ROOT_BOXES
@treeview[""].layoutHints = LAYOUT_FILL_X|LAYOUT_FILL_Y
and see if the layout hints "take" this time ;)
|