|
|
Re: TreeItem expansion strategy [message #454844 is a reply to message #454787] |
Sun, 01 May 2005 08:51 |
Max Rotvel Messages: 21 Registered: July 2009 |
Junior Member |
|
|
Ok, thanks for the clarification. It would be nice with the described
'flaglike'
behavior, but it's no big deal working around it in my project.
On Thu, 28 Apr 2005 19:00:53 +0200, Emil Crumhorn <crumhorn@speakeasy.net>
wrote:
> Sound like correct behavior to me. If the parent has no children, how
> can it
> expand to show what it doesn't have?
>
> I realize you want setExpanded to end up like a flag on the folder so
> when
> stuff is added to it, it knows it's supposed to be expanded and does so.
[snip]
> "Max Rotvel" <rotvel@bolignet-aarhus.dk> wrote in message
> news:op.spv7wzkp94ko3h@trixie.katlan...
>> I have a two-layered Tree where I want all the topitems to be expanded
>> at creation time.
>>
>> If I call setExpanded(true) on the topitems, before adding the subitems,
>> they are not expanded. If I call setExpanded(true) after adding the
>> subitems, the topitems are expanded properly.
[snip]
Regards
--
Max - rotvel AT bolignet-aarhus DOT dk
|
|
|
Powered by
FUDForum. Page generated in 0.02775 seconds