I have a figure with a ToolBar Layout. I have added a Label in it(Draw 2D).
I have to add another figure in it dynamically. But when I do add it, the Label moves down and the newly added figure comes at the top.
I have tried adding the label by add(IFigure, index)
method, with 0 index but no use!
I noticed the getChilden()
list has my label at the bottom. I can keep re-ordering the list, but I don't think its a good idea.
What can I do so that the newly added figures are always at the bottom?
I can't use any other layout than Toolbar layout.