On Mon, 2005-03-14 at 18:11 +0100, Gr�goire Dooms wrote: > Hi here is a quick fix for the central connection point of text: > it is a vertical alignment feature for the text object. > > There are four options: align top, bottom, center or old (~bottom of > first line). > The top, bottom and center are computed wrt the bounding box with seems to > be a little too wide at the bottom.
Thank you! That is a useful feature. The "old" alignment should possibly be called "first line" or something more descriptive. Or we could just (being pre-1.0) force all the old ones to point to Bottom if one line of text, Center if two lines, Top otherwise. Or just go to Center always. That gets us rid of an ugly hysterical raisin. Again, this should be PROP_FLAG_OPTIONAL. It would probably be more useful if there was a connection point there... there's only a handle. However, there are issues about having connectable handles and connection points on top of each other (if you put two such objects together, you can't separate them). > This should probably be implemented in the lib/text.c code instead of > the textobj. But as this is already done for the text object ... It could indeed be one of the standard text properties. It should, in fact. And that wouldn't be hard. Would just require adding more standard text macros and then going around to the objects that use it and insert them. In fact, the text properties macros could be refactored out into a single macro that just takes enough arguments to build the offsets. But not yet... -Lars -- Lars Clausen <[EMAIL PROTECTED]> _______________________________________________ Dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.gnome.org/projects/dia/faq.html Main page at http://www.gnome.org/projects/dia
