Opened 4 years ago

Last modified 4 years ago

#6165 closed defect

Parameter window does not have the right width when replaceable packages are included — at Version 1

Reported by: Francesco Casella Owned by: Adeel Asghar
Priority: critical Milestone: 1.16.0
Component: OMEdit Version:
Keywords: Cc:

Description (last modified by Francesco Casella)

Please check the attached test case. When you double-click on the teeJunctionIdeal component, a Parameters window pops up with a field for the replaceable Medium model.

If you click on the drop-down menu, some of the class names are shortened in the middle, with ... showing up instead of the missing text. In fact, in order to see those names complete one has to manually increase the width of the parameter windows, so that the entire fully qualified path can be seen.

I see that the width of the Parameter dialog editor is not constant in general, and is probably adapted to get all values to fit in drop-down menus. Unfortunately, this adaptation is not correct in this case, because it causes some names to be unnecessarily clipped in the middle.

@adeas31, is this difficult or easy to fix?

Change History (2)

by Francesco Casella, 4 years ago

Attachment: TestReplaceableMedia.mo added

comment:1 by Francesco Casella, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.