Re: function to resize a UML class object's extent?
- From: Lars Clausen <lrclause cs uiuc edu>
- To: dia-list gnome org
- Subject: Re: function to resize a UML class object's extent?
- Date: 28 Nov 2001 09:28:46 -0600
On Wed, 28 Nov 2001, Andrew S. wrote:
Anyone know which function I should call (or property to set) to resize a
class object's borders around the text inside? I took a look at
umlclass_create() in objects/UML/class.c, but I didn't see anything
obvious.
My problem is I'm creating UML class objects on a diagram, and most of
the time the string in the class name is too big for the default extent
of the class box, so it winds up looking like:
+-------+
A_lon|g_class|_name
+-------+
and generally leaves a mess when the object is dragged around the
diagram.
I'm doing all this from a plug-in.
The standard function to call is objet_update_data(). How are you
currently changing the text?
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]