notation:ShapeStyle [message #238254] |
Mon, 03 September 2007 10:32 |
Eclipse User |
|
|
|
Originally posted by: juergen.sterr.brain-child.de
Hi,
We are building an editor which should provide the definition of a text
based screen output. The screen can display 34 characters per column and
has 10 lines at all (in total 340 characters are possible).
An I character should use the same space than a X character bacause the
text
layout need this.
It is possible to set the fontName, fontHeight in the Editor menue
Diagram/Font.
<styles xmi:type="notation:ShapeStyle" xmi:id="_FzbOwUv5EdyhPLBMmu5LWA"
fontName="Nimbus Mono L" fontHeight="24"/>
Now it is perfect !!!
My problem is:
The user musst set the fontName and fontHeight always new if the user
create a new text field. The text is always "San Serif" an "9".
This is not confortable!
And if I set a fixed Font in my model
***.gmfgraph / FigureDescriptor / Rectangle / Label Basic Font it is not
possible to set the fontName "Nimbus Mono L".
My question is:
Can I give my text a fixed fontName and fontHeight when an user create a
new text field?
How can I do that?
Thanks
Jürgen
|
|
|
Powered by
FUDForum. Page generated in 0.03190 seconds