[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: layout manager troubles

Figures have 0 size now.  This is different from the previously release when 
figures had some strange hard-coded size.  The purpose was to make adding a 
figure more efficient.

Some figures have preferred sizes without layoutmanagers, such as Label.

"Jesper Eskilson" <jojo@xxxxxxxxxxxxx> wrote in message 
news:4238A246.9090700@xxxxxxxxxxxxxxxx
> Jesper Eskilson wrote:
>> Hi,
>>
>> I'm trying to implement my own layout manager for a very specialized 
>> situation. Things work nicely all the way to the point where I do
>>
>>     child.setBounds(newBounds);
>>
>> on each of the figure's children in the layout() method. I would have 
>> expected that would be all there would be to it, but nothing happens -- 
>>  none of the children become visible on the screen. I've tried to step 
>> through the setBounds() method, but I can't find anything obviously 
>> wrong; the setBounds() ends up in queuing a dirty-region which seems 
>> reasonable enough.
>>
>> If anybody has a clue as to what I've forgotten, I'd appreciate the help.
>
> Following the laws of asking for help in newsgroups, I just realized that 
> the none of the child figures had any layout-managers. Duh.
>
> Sorry for wasting your time.
>
> --
> /Jesper