adapt behaviour of box sizing
Submitted by jan..@..ro.com
Assigned to Alan Horkan
Link to original bug (#103733)
Description
In the mailing list I had a correspondence with Lars Clausen about the behaviour of box sizing. He asked me to add the RFC to a bug report.
Here is the correspondence:
On Thu, 16 Jan 2003, Jan Kester wrote:
Yes. Text is wrapped, or you can press enters yourself to create new lines. If it doesn´t fit in the box, then the vertically centered and flows over and under. Size of the box remains the same.
Regards, Jan
-----Mensaje original----- De: dia-list-admin@gnome.org [mailto:dia-list-admin@gnome.org]En nombre de Lars Clausen Enviado el: jueves, 16 de enero de 2003 13:20 Para: dia-list@gnome.org Asunto: Re: resizing objects fails
On Thu, 16 Jan 2003, Jan Kester wrote:
I would say wrapping. If all the sizes are adapted automatically by the amount of text, you get a very odd looking diagram. Boxes should all be equal size, font size should remain the same as well to create a nice diagram. I really like it the way visio does it (which I guess is a good example for the dia-project).
Not having access to a Visio here: What does it do when there's more text in the box than will fit? Extend it vertically?
-Lars
Regards, Jan
-----Mensaje original----- De: dia-list-admin@gnome.org [mailto:dia-list-admin@gnome.org]En nombre de Lars Clausen Enviado el: miércoles, 15 de enero de 2003 19:21 Para: dia-list@gnome.org Asunto: Re: resizing objects fails
On Wed, 15 Jan 2003, Jan Kester wrote:
The problem is that the relative sizes of the boxes is difficult to control. If one box contains a lot of text and the other little, they will have different sizes. I'd rather have equal sized boxes, some with lots of texts, some with little.
Do you mean boxes with equal width, where word-wrapping occurs, or boxes of the same size where the font size shrinks if the text is too large?
-Lars
Actually, this could be added really easily at a low level, by using pango_layout_set_width(), which does word wrap for you, even in strange exotic languages. I'd like to see that in the next version, could you put in a bug report so we remember?
-Lars
Version: 0.90