Summary: | FillLayout does not work with a dynamic mapping | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Modeling] Sirius | Reporter: | Cedric Notot <cedric.notot> | ||||||||
Component: | Properties | Assignee: | Project Inbox <sirius.properties-inbox> | ||||||||
Status: | NEW --- | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | pierre-charles.david | ||||||||
Version: | 6.3.0 | Keywords: | triaged | ||||||||
Target Milestone: | --- | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows 10 | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Cedric Notot
2020-04-30 06:33:33 EDT
Created attachment 282633 [details]
Example on basicfamily
Confirmed, thanks for the report. Steps to reproduce: 1. Import the basic family metamodel & launch a runtime, or install it directly in the host 2. Import the attached project in the workspace. 3. Create a modeling project with a sample basicfamily instance, for example using the "Basic Family Sample Model" example. 4. Enable the viewpoint defined in the test VSM. 5. Create and open a diagram on the sample model. 6. Select one of the "Person" on the diagram. Expected: the "First name" and "Last name" properties should be on the same line, as requested by the "HORIZONTAL" Fill Layout defined in the VSM. Actual: the two properties are stacked vertically (default layout). In the VSM, if you move the firstName & lastName widgets out of the For loop (and remove the loop) and then save, the HORIZONTAL layout is correctly applied. Created attachment 282686 [details]
The broken (vertically stacked) widget layout when using a for loop
Created attachment 282687 [details]
The correct (horizontal) widget layout when the for loop is not used
|