Re: Fixed height and width on shape



Hold it!
I'm working on this!

I'm adding the functionality to objects/custom/ as we speak. (I already have it working locally with some code ugliness).

So please stand by, I'll submit a patch in approx. 2 weeks (I only work on dia on fridays).

cheers,

Marcel

2007/11/3, Lars Clausen <lars raeder dk>:

On Sat, 2007-11-03 at 21:42 +0100, Aaron Mueller wrote:
> Hallo everybody!
>
> I am struggling with a new UML2.0 Shape (the component [1]) but I can't
> find any solution to keep the little "symbol" in the top right corner
> allways in the same size while the box around can be resize.
>
> I found some shapes with the same properties I want (like on the "Small
> Package" in the UML-shapeset, the top right box doesnt resize but the
> rest do). I watched the sourcecode and landed on the small_package.c file.
>
> My question is: Is there a "XML-way" to specify parts of the shape to be
> fixed while other parts are resizable or do I need to write a whole new
> c-file?

There is currently no way to do that.  Somebody mentioned the idea in (I
think) one of the (many) bugs I went through last weekend, of having a
"scale factor" for subparts of a shape.  It's not in code yet, so at the
moment you'd either have to implement that or do a C-file with your
object.  Sorry, I can't find it right now.

-Lars

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]