Opened 8 years ago

Closed 8 years ago

#4256 closed enhancement (fixed)

Text size on input connectors and other MSL components

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: high Milestone: 1.12.0
Component: OMEdit Version:
Keywords: Cc:

Description

A long time ago I noticed that the text around some MSL components was shown very small in OM.
One of such cases was: Modelica.Blocks.Interfaces.RealInput

When I studied the situation I understood that in the considered cases in the text extent annotation we had x1=x2. For the example of Real Input it is:

Text(lineColor={0,0,127},extent={{-10.0,60.0},{-10.0,85.0}},textString="%name")}),

so here x1=x2=-10

I checked the Modelica Specification and found that nothing was said about this case, opened a ticket (#1636 on Modelica track) and received a satisfying answer (comment 8 on that ticket).

So it is now decided how to manage cases in which x1=x2, even though specification 3.4 is not delivered yet.
Since comment 8 specifies an addition to spec 3.3, that does not reverse anything existing,

I think it's good to start implementing it in OM already (as far as I can understand it should be an easy task).

This would bring the immediate benefit to have larger, and more readable, size of text non MSL components for which x1=x2.

Attachments (1)

OME.png (102.1 KB ) - added by massimo ceraolo 8 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by massimo ceraolo, 8 years ago

Summary: Text size on input connectors ond other MSL componentsText size on input connectors and other MSL components

comment:2 by massimo ceraolo, 8 years ago

Just to show wha I men I enclose OME.png.
If this ticket is accepted, text on input and output connectors would be the same size of gains'.
If it is not, connectors' texts remain as they are now: input's too small, output's so small that cannot be read.

Last edited 8 years ago by massimo ceraolo (previous) (diff)

by massimo ceraolo, 8 years ago

Attachment: OME.png added

comment:3 by anonymous, 8 years ago

According to comment 15 in #1636 on the Modelica track, now the new interpretation of text having x1=x2 is implemented.

comment:4 by Adeel Asghar, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in 60127a8/OMEdit.

Note: See TracTickets for help on using tickets.