#6165 closed defect (fixed)
Parameter window does not have the right width when replaceable packages are included
Reported by: | Francesco Casella | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | critical | Milestone: | 1.16.0 |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description (last modified by )
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?
Attachments (1)
Change History (6)
by , 4 years ago
Attachment: | TestReplaceableMedia.mo added |
---|
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
comment:2 by , 4 years ago
comment:3 by , 4 years ago
Thanks Adeel! I just started a Windows built to test it myself. Could you please port it to the 1.16 maintenance branch as well?
comment:4 by , 4 years ago
Yes of course. I have another fix https://github.com/OpenModelica/OpenModelica/pull/6852 in the pipeline. Double click issue of component, someone mentioned it during one of the dev meeting probably Rudiger. I will port both of them to 1.16 maintenance.
The fix is on the way https://github.com/OpenModelica/OpenModelica/pull/6851