|Re: Compartment layout problem after update to Juno [message #999335 is a reply to message #992697]
||Fri, 11 January 2013 21:10
| Axel Guckelsberger
Registered: July 2009
In case somebody has a similar issue: I got around this problem by using |
ToolbarLayout instead of FlowLayout for the outer compartment.
Axel Guckelsberger wrote:
> Hi all,
> I need some help for coping with a visual problem which appeared since
> I've updated to Juno.
> There is an entity figure with two compartments, one for the fields (list
> mode enabled) and one for indexes (list mode disabled). The first one can
> contain different field types. Almost all of these are using WrappingLabel
> which works fine with the list layout. One exception is the "list field"
> which has multiple list entries. Therefore this one has another figure
> (ListFieldShape extends RoundedRectangle) and contains an inner
> compartment (RectangleFigure) with several list entries which are
> WrappingLabel instances again.
> In addition I've implemented the recipe described at
> to allow reordering fields by using drag & drop. So the fields compartment
> uses a FlowLayout internally.
> The problem which appeared now is that list fields are not positioned
> within the fields compartment properly anymore, but are placed at the
> right side next to the other fields instead.
> The following screenshots show how it looked like before Juno and how it
> looks like now.
> I hope that the gmf newsgroup is the right one for this kind of question.
> If not I can also repost in the gef and draw2d groups.
> Can you give me an advice how I need to change my figures in order to
> achieve the earlier display again? Maybe I need to use another Layout
> instead of the FlowLayout to enforce the old display behaviour in the
> Thanks in advance for blazing a trail!
Powered by FUDForum
. Page generated in 0.01933 seconds