[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] inline/block

 Hi,

I am trying to implement a layout manager that can understand the 
inline/block css attributes. It is very similar to a flowlayout except that 
the block element take the whole space on their line, and inline elements 
can be on the same line with other inline elements. I'm having a problem 
with the text:
- how can I have inline text continue on the next line like in html? Figures 
have to be inside rectangle, but in that case, that's not a rectangle 
anymore, but two rectangles.
- how can I have the flowpage automatically resize the text figure so that 
there is no empty space in my text figure? If I set the width hint to -1 it 
works, but then it doesn't know about the maximum size so it doesn't wrap 
any more...

Thanks,

David