Comment 4 for bug 386494

Revision history for this message
Stani (stani) wrote :

"The position of text would be calculated so that the left/right bound doesn't go past edge on maximum (100%). This would be pretty much equivalent of the current behavior except that it keeps text inside bound for values between -100% and 100%."
I would not go this route. This becomes unpredictable for the user. What if the text is bigger than the image? The old behavior is the only correct one for me. The default values for the text action would be:
Horizontal Position: 50%
Vertical Position:50%
Horizontal Justification: Middle
Vertical Justification: Middle

The position fields have to be PixelFields. Be sure to pass absolute values in pixel_fields (see the original text action). The position *really* has to be absolute, as later I'd like to add a rotation angle field, or draw as circle (which would need a radius), ... For this we would change the name of the Orientatien field in "Layout", which can everything which it is now but including: "Rotate By Angle" and "Circle". In case of rotate by angle, an angle field would pop up and in case of circle a radius (=pixelfield). Circle layout would be very nice in combination with the badge action list from the library. Try it if you didn't have yet.