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

Re: Default font size for UML objects



On Tue, 18 Mar 2003, Aaron Burt wrote:
> On Tue, 18 Mar 2003, Lars Clausen wrote:
>> On Tue, 18 Mar 2003, Aaron Burt wrote:
>> > Howdy.  Been digging through docs, list archives and whatever
>> > Dia-related files I can find on my system, but I can't find a way to
>> > set a smaller default font size for UML objects.
>>
>> No, there's no way outside of recompiling to do that.  Why?  Because the
>> UML class doesn't use StdProps yet, so it doesn't have automatic
>> defaults settings.
> 
> Is there a template or example for converting these guys to StdProps?

The reason they haven't been converted yet is that they're quite
complicated.  In particular, we don't yet have a property widget that can
handle the fancy multi-line props that UML class is awash in.

> Either way, where would I want to start nosing around in the source?
> I'm sure I could just grab the SRPM for the version she's using (whatever
> comes with RH 8.0) and tweak the source, making for minimal disturbance.

You want to look at fill_in_font_data() in objects/UML/class.c for the
quick hack.

-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] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK